RE: [Flashcoders] onResize (when done)

2006-06-06 Thread Jim Robson
:"+Stage.height; }; Stage.scaleMode = "noScale"; Stage.addListener(stageListener); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick G Sent: Monday, June 05, 2006 8:34 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] onResize (when

RE: [Flashcoders] onResize (when done)

2006-06-06 Thread Bernard Visscher
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: Fl

Re: [Flashcoders] onResize (when done)

2006-06-05 Thread Mick G
My question is two-fold: Is it possible to determine if the stage is resizing larger? smaller? only height? only width? If you don't want to use onEnterFrame, just do the same process by checking the Stage.width and Stage.height with a setInterval and compare the current values with the last.