YES!!! It works!
Doing a stage.invalidate() in the loaded .swf file, then listening for it's RENDER event before running the script to position the loaded .swf files. The height and width properties in the loaded .swf are updated to the new ones and accessable to the loading .swf Sweet. Thank you. ^_^ -[a]- -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Manish Jethani Sent: January 11, 2009 07:21 To: Flash Coders List Subject: Re: [Flashcoders] Height and Width of a loaded SWF before itvisuallyrenders? On 1/11/09, Andrew Murphy <[email protected]> wrote: > I need an event that fires after the swf does an enterframe, resizing as the > graphics animate, but before the Flash redraws itself. The render event is supposed to get dispatched only if you've called stage.invalidate. Are you doing that from the loading application? > ...I'm thinking what I want to do just isn't do-able. That the new frame of > the swf has to be drawn before the height and width properties update. One of the way to handle this may be to hide the loaded applications at first, let them load and render off screen, and then lay them out based on their final size. I guess you lose the animation though ... but something along those lines. Manish -- http://manishjethani.com _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

