Hi all,
Is there a way I can get and set the width and height of a
loaded movie clip? I have created an empty movie, and then loaded a
small swf file into the empty movie with loadClip. I now want to
determine the width and height of this loaded clip, and scale it to
the size of my movie dimensions. Can this be done? Although the
movie loads fine, and I can position its x and y coordinates, the
width and height show as zero.
Can anyone help me with this one? I'm using Flash
Professional 8.
you must wait until loading is complete to access the loaded
swf's _width and _height. and then you'll see the _width and
_height of the on-stage objects in the first frame if you access
those properties as soon as the swf is initialized.