Flex stage overtakes Flash stage
I'm loading a flex swf into a flash swf, and it seems that flex takes over the stage in quadrant 4, if you look at as a grid:
-------------|-------------
-------------|-------------
-------------|-------------
__________o__________
-------------| **********
-------------| *Quadrant*
-------------| ****4*****
And at the origin is the top left corner of the flex swf.
Now since the flex swf only takes up a small amount of Quadrant 4, when an Alert message from the flex swf comes up (from mx library) it looks up professional since it is not placed in the center of the application, but the center of quadrant 4.
Does anyone know, how to restrict stage access to only the predefined application width and height so the Alert message will be centered in the flex swf.
Thanks in advance,
Basil Al-Dajane
PS. worth mentioning, I'm using Flash CS3 and Flex 3.0, both running on ActionScript 3.0
Last edited by basil_ad; 11-09-2008 at 12:10 PM.
Reason: didn't display the grid properly
|