Lars, For a loaded clip, the stage size (from the settings dialog) is pretty much ignored. The _width and _height returned to the loading clip is the width and height of the objects in frame 1, as Eric says. As far as I know, there's no way to return the stage size that you set up when you published it. Which is crazy, but there you go.
Sorry! Ian On 2/20/06, lars <[EMAIL PROTECTED]> wrote: > > well, the instances can differ because the swfs to be loaded > can be any swf, so i have no chance to prepare each of them. > any other solution to get the real (stage size) dimensions? > > > Am 20.02.2006 19:47 Uhr schrieb "Éric Thibault" unter > <[EMAIL PROTECTED]>: > > > The dimension of the loaded SWF is the space occupied by instances on > > it's first frame... try to place a rectangle at 0:0 with a dimension of > > 1024 * 768 on frame one in your loaded SWF... Does it do the trick? > > _______________________________________________ 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