Search code examples
actionscript-3apache-flexandroid-emulatorflash-builder

Flex Mobile: Test Resolutions Greater than Screen Size


Flash Builder has an Emulator for mobile devices of any resolutions.

My questions are the following:
1) When testing for devices with resolutions greater than my screen size, is it still reliable to use the FB Emulator?
2) What are other alternatives that can I use for debugging purposes with FB?


Solution

  • Alternative to Capabilities since on FB Simulator it will use the monitor screen size not the actual device resolution.

    var root:DisplayObject = SystemManager.getSWFRoot(this);                
    screenX  = root.stage.fullScreenWidth;
    screenY  = root.stage.fullScreenHeight;