I'm having an issue resizing externally loaded .swf files. It's no
problem if the content of the external .swf is contained within the
movie's stage, but if not, how can I resize it based on it's width or
height? Especially if the content is animated and the height/width is
constantly
There is no way to know the stage size of an imported SWF.
The loading parent only knows the size of the loaded SWF from the
elements present on frame 1. You could however place an invisible
element the size of it's stage inside the loaded SWF... (I've used that
trick before!) Or use
Subject
Re: [Flashcoders] Resize External .Swf File Based on Stage?
There is no way to know the stage size of an imported SWF.
The loading parent only knows the size of the loaded SWF from the
elements present on frame 1. You could however place an invisible
element the size of it's stage
3 matches
Mail list logo