There's a better way to do it. Have you seen swfObject? Insert the swf into the html with noscale and showall, then you are not limited to a stage size. Have a listener set up in js for onResize and pass it into flash via swfObject.
Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Lee Sent: Thursday, 10 August 2006 2:27 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] New Flash based website > use javascript to resize the swf's object height attribute, so that > when your user opens a section that will increase your stage height > beyond the window height, Hi Aaron, I noticed a site doing that just this morning. Switching the swf attributes from Javascript doesn't mess with the application's state? Does anyone have any sample code they could point at? Tony _______________________________________________ Flashcoders@chattyfig.figleaf.com 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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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