I'm not sure I fully understand your question (or your issue) but I will try to answer that which I think you're asking.
Try setting the [stage.scaleMode][1]
to NO_SCALE
. Then, at run-time check the stageWidth
and stageHeight
and build your scene based on those values. As a suggestion, when setting the stage.scaleMode
try setting the align as well to TOP_LEFT
. Unless the scaleMode
is set to no_scale
Flash automatically scales the declared stage dimensions to the dimensions of the container. If the scaleMode
is set to no_scale
then the declared dimensions are ignored and the dimensions of the container are used for the stage.