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
| SitePoint Sponsor |
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





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.
I am sorry for being ignorant but could you explain how to do that?





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; } }
Thanks, I appreciate your help
Bookmarks