Air mobile background color and size

How i can change the background color & stage size of an air for mobile project? i tried with SWF(width, height...) but doesnt work. i cant find the way to do that whith the IDE.
any suggestions???

1 comment
Comment actions Permalink

Size is defined by mobile device screen resolution. If you are running mobile app on the emulator - open corresponding run configuration (Run | Edit Configurations...) and select predefined emulator with screen size you need or select 'Other...' and specify any screen size.
Background color is set from code - it is not related to the IDE. For example if you develop view-based app you may setup it like this:

<s:View xmlns:fx="" xmlns:s="library://" backgroundColor="0x00FF00">


Please sign in to leave a comment.