Actionscript 3.0 compiler options: Setting application width and height


I'm new to IntelliJ Flex development. I like the IDE and I can build a basic flex project with no problem.

I cannot seem to find a place in IntelliJ where I can set basic Actionscript 3.0 compiler options.

For example, the Adobe Flex Builder IDE has a line for setting "additional compiler arguments" such as:

-locale en_US
-default-size 1024 768
-background-color #000000

and many others. When I build and run a Flex application from IntelliJ, the app does show up in Flash player, but in default screen resolution. I'd like to be able to change width and height of the compiled application from IntelliJ - is there a way to do it?

Note: When I was setting up my new Flex project, IntelliJ asks me for screen resolution of my app. Even though I specified 800 x 800, it only applies these parameters to the wrapper.html file that is being generated. I'd like the actual test application have these parameters as well, not just compiled HTML page.


Comment actions Permalink

Note #2: By "the actual test application" I mean the application that pops up in a separate Flash Player window after I click "Debug" button (not in the browser @ wrapper.html).

Comment actions Permalink

Look at Project Structure (Ctrl+Alt+Shift+S) | Modules | <Your Flex module> | Flex Compilet Settings tab.
Locales are configured at Advanced tab, default-size and background-color can be set at Additional compiler options field.

Comment actions Permalink

Thanks Alex,

That's exactly what I was looking for.


Please sign in to leave a comment.