[Flashcoders] Resize External .Swf File Based on Stage?

2006-06-26 Thread Brandon Krakowsky/MTC
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

Re: [Flashcoders] Resize External .Swf File Based on Stage?

2006-06-26 Thread Éric Thibault
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

Re: [Flashcoders] Resize External .Swf File Based on Stage?

2006-06-26 Thread Brandon Krakowsky/MTC
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