flex 4 swfloader: SWFLoader.content.stage.width and height returns the main stage width and height -


When I load a flash application using SWFLoader, the stage width of the filled app and the height of the main Flex application becomes . So if I made a game in which the steps are calculated to use the width and height, then it actually pulls out the loaded application out of the phase range because it gets the width and height of the whole screen. How can I solve the issue?

Thanks

This is a common mistake, stage.stageWidth < / Code> and stage.stageHyight .


Comments