Hey, a TweenMax/Flash newb here.
I am working on a menu where when you mouse over on a MovieClip, it enlarges and gets highlighted, it works fine except that the stretching is always "anchored" on the center, and I need the clip to grow from the lower-left corner.
I don't know if this is something that must be coded or somehow set up on the flash IDE.
Anyways, here is the "enlarge" code:
function EnlargeCard (e:MouseEvent):void {
trace("In- "+e.target.name);
var currentMC:MovieClip = MovieClip(e.target);
TweenMax.to(currentMC, .8, {scaleY:2, ease:Back.easeOut});
//highlight!
TweenMax.to(currentMC, .3, {colorMatrixFilter:{saturation:1, brightness:1}});
TweenMax.to(currentMC, 1, {glowFilter:{color:0xffff00, alpha:1, blurX:10, blurY:10}});
}