0

I am working on a project with two images, a background(B) and a foreground(F).

My goal is to have (F) "burn away" to reveal (B). At the moment I am trying to do this with a circle shaped mask. I can get my mask to appear statically, but no matter what I try I cannot get the mask to grow to reveal more of (B). Any ideas? This is the code I have right now

var BackgroundBitmap:Bitmap = new Background();
addChild(BackgroundBitmap);

var BurnThroughBitmap:Bitmap = new BurnThrough();
addChild(BurnThroughBitmap);

drawCircle(); //creates circle "mycircle:MovieClip" with radius 100 at a predefined point

BurnThroughBitmap.mask = mycircle; //this sucessfully masks the two images, revealing the background

TweenLite.to(mycircle, 14, { scaleX:1.5, scaleY:1.5 } ); //this doesn't work :(

Any suggestions or alternate methods?

Thank you!

4

0 回答 0