Hi,

i have a MC (footer background) that is scalled proportionally to the stage
width. I use Event.RESIZE and it works nice if i expand the window from its
borders or corners, but it doesn't work if i click the minimize/maxmize
button.

Aren't the minimize/maximize buttons the same as resizing the window in as3?
How could i make it treatable as a normal resize?

stage.addEventListener(Event.RESIZE, resizeHandler);

function resizeHandler(e:Event):void {
TweenLite.to(Footer_mc, .5,  {alpha:1.0, y:(stage.stageHeight-bottomOffset),
x: stage.stageWidth/2, scaleX:(stage.stageWidth/Footer_mc.width),
ease:Elastic.easeOut, delay:0.2});

}
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to