SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: quick question

  1. #1
    SitePoint Member
    Join Date
    Jun 2003
    Location
    Seatac
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    quick question

    Please help me figure out how to make wipes such as the wipes used at www.eonline.com to wipe from picture to picture.

    Thanks in advance,

    BB

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That is just a masking effect. They use a small circle as a mask over a clip, and use actionscript to tween the circle up the screen and change its _xscale and _yscale till you achieve the effect.

  3. #3
    SitePoint Member
    Join Date
    Jun 2003
    Location
    Seatac
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am sorry for being ignorant but could you explain how to do that?

  4. #4
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You want me to write some code, I mean its all in the reference panel of Flash MX. Look at setMask.



    Code:
    _root.attachMovie("masker", "masker", 100);
    masked.setMask(masker);
    masker._x = Stage.width/2;
    masker._y = Stage.height/2;
    masker.onEnterFrame = function() {
     if(this._xscale > 1000) {
      this.removeMovieClip(); 
      masked.setMask(null);
     }
     else {
      this._xscale = this._yscale += 20;
     }
    }

  5. #5
    SitePoint Member
    Join Date
    Jun 2003
    Location
    Seatac
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I appreciate your help


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •