Hi everybody, this is my first post here on Kirupa, hope some AS ninjas here will help me to solve a small problem…
I’ve been following the great “image revealer” tutorial from Michael Chen here: http://active.tutsplus.com/tutorials/effects/create-a-slick-image-revealer-in-flash-using-actionscript-3/
It works like a charm but… I’m using this technique inside a movieclip containing several other animations. At the very end, when the animation starts over, the color of the circle (yellow in my case) (used for the dynamic masking) displays on the entire scene, hiding all the other elements.
I’m trying to “kill” this circle when the entire image is revealed and before the animation starts over, but nothing seems to work with my lack of knowledge in AS3
setting the alpha transparency to 0 on the circle graphic works but it’s more a tweak than something else (when the animation loops several times, it starts to consume a lot of cpu; I guess it’s because it adds circles on top of each others…)
Here’s the structure of my fla:
Scene 1: contains only one layer called actions. It adds a movieclip called “creative” on it with this code:
var creative:Creative = new Creative();
addChild(creative);
stage.align = “TL”;
creative.x = 150;
creative.y = 124;
stop();
init();
- Everything else is done in this creative movieclip (hand made animations + this dynamic image revealer) Any help on that (Rest of the AS code can be seen on the tutorial link)? Thank you guys by advance.
Erik J.