You can add a listener to the Stage.
var listener:Object = new Object();
listener.onResize = function(){ //updated }
Stage.addListener(listener);
Bernard
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Flash Mel
Verzonden: dinsdag 6 juni 2006 2:16
Aan: Flashcoders mailing list
Onderwerp: [Flashcoders] onResize (when done)
I had a question about this. There is a solution in the archives
(http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/056558
.html)
where someone used onEnterFrame. That solution was back in 2002. Is
there a better alternative now?
My question is two-fold: Is it possible to determine if the stage is
resizing larger? smaller? only height? only width?
Ah, my mind is boggled!
Cheers,
fM
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com