Quantcast
Channel: Adobe Community : All Content - Using Flash Player
Viewing all articles
Browse latest Browse all 16816

How to pass in variables using the command line when starting ActionScript native app

$
0
0

How do I pass in variables or startup arguments using the command line when starting an ActionScript native app? For example, I have my app call MySweetWidget and it has been compiled with Adobe AIR captive runtime so now I have MySweetWidget.exe.

 

In the command line, I am calling MySweetWidget.exe and would like to pass in variables or properties to the application. I would assume that those variables are then read from the loaderInfo.parameters object.

 

Please let me know if the Adobe AIR runtime supports passing in parameters to the native runtime. If so, I would like help determining the correct format of how to pass in the variables. Then would you read those from the loaderinfo.parameters object?

 

Thanks,

Jeff


Viewing all articles
Browse latest Browse all 16816

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>