I have a Flex application which contains a SWFLoader that will load an AS3, MovieClip-based SWF. The problem is that when the SWF is loaded, it's stage is set to the entire Flex application's width and height instead of scaling down to the specified width and height of the SWFLoader.
I search online all day yesterday trying various approaches and was unsuccessful. Is this a common problem? Does anyone have any ideas as to why this would happen?
Update:
It looks like it is something to do with the loaded swf's stage. The SWF that is to be loaded positions its controlls based on the stage width and height. When my flex app loads the SWF, it sets the child swf's stage to the same dimensions as itself. Is there a way to position components without being relative to the stage area? I would think this is a more common problem, but I have yet to find the correct solution.
Thanks for any help!
Start Free Trial