Are you using Projector Debugger? IIRC, it doesn't take command-line arguments.
Alternatives: -AIR apps do take command-line arguments. -You can launch the browser plugins with URL args. -You can use Ant to compile-in some parameters. -Your web app could pick up a config file written by Ant. HTH, -Alex On 9/12/16, 7:38 AM, "olegkon" <[email protected]> wrote: >Hi, > >Is there a way to pass some variables from ANT build to the actual Flex >web >app? > >I have seen that old post regarding passing SVN build number: >https://mampersat.wordpress.com/2009/03/31/display-versionrevision-number- >in-flexactionscript/ > >I need to pass an environment Type (DEV / UAT / PROD) from Ant. >Is there a way to do it in Flex 4.6 ? > >Please help. > >TIA, >Oleg. > > > > >-- >View this message in context: >http://apache-flex-users.2333346.n4.nabble.com/Pass-data-from-build-to-Fle >x-web-app-tp13535.html >Sent from the Apache Flex Users mailing list archive at Nabble.com.
