problem |
adobe flex4 AS3.0 air how to get the command line arguments of the air application --- > dn |
solution |
You have to listen to invoke event of the air application. Then, this event gives an InvokeEvent object. This object has the arguments array, in this arrays are the command line arguments stored... see the follow Listener as example: protected function Handler_InvoceEvent(event:InvokeEvent):void { lb_test.text= event.arguments[0]+' '+ event.arguments[1]; loadConfigFile(); } |
Information technology (it) often FAILS! Let's solve it. Problems and solutions on areas: Adobe's Flex, PHP, Delphi, Visual Studio, Windows, intranet, internet, popular applications, hacks, cheats techniques and much more; so enjoy your fail!!!
Thursday, 21 April 2011
how to get the command line arguments of the flex air application
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment