# Command line arguments to projector

**URL:** https://forum.kirupa.com/t/command-line-arguments-to-projector/274234
**Category:** flash
**Created:** [October 27, 2008, 12:49pm UTC](https://forum.kirupa.com/t/command-line-arguments-to-projector/274234 "2008-10-27T12:49:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![henraa](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@henraa](https://forum.kirupa.com/u/henraa)
#### Post date: [October 27, 2008, 12:49pm UTC](https://forum.kirupa.com/t/command-line-arguments-to-projector/274234/1 "2008-10-27T12:49:17Z")

</div>

Hi folks,

Is it possible to run a Flash projector file from the command line and pass in arguements?

The size of the application needs to be set each time it is run and this is the only way I can think to run it. It will be loaded from a Java app so I didn’t think I could use FlashVars as they are a HTML/Javascript implementation right?

As far as I know I can’t get the screen resolution from inside my actionscript 3 code. System.Capabilities.screenResolutionX only works in Flex or Air?

Anyone have any ideas?

Thanks
