actionscript 3 - Flash Pro cc why is the stage width and height on my phone, set as the one inside Flash pro? -
i having problem setting stage height , width app developing.
i need set height , width screen of device on. stage.fullscreenheight , stage.fullscreenwidth.
but realized fullscreenheight , width setting size stage inside flash pro cc under properties(the stage size).
and not able make stage width , height according phone's. if capabilities.screenresolutionx; or stage.stageheight. of them set either size of image, or stage inside flash pro, none according device.
edit:
e.g. var button = button = new button(); button.width = stage.stagewidth; button.height = button.width/stage.stagewidth * button.height;
try stage.scalemode = stagescalemode.no_scale
or unchecking "full screen" checkbox in air settings
Comments
Post a Comment