Hello :)

when you listen the onResize event of the stage you write this code :

var listener:Object = {} ;
listener.onResize = function ():Void
{
   trace("onResize : " + Stage.width + " : " + Stage.height) ;
}

Stage.addListener( listener ) ;

If you want resize manually without the event it's easy... call the callback
function in your code :)

listener.onResize() ;

EKA+ :)

2006/11/17, bayo <[EMAIL PROTECTED]>:

Hi,

I'd like to manually fire a Stage resize event without the Stage having
actually been resized.  Anyone know if this is possible?
Thanks.

Julian



_______________________________________________
[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

Reply via email to