1 Reply Latest reply: Dec 5, 2012 12:38 PM by roymeo_ RSS

    ProductManager Class, question




      Im using productManager Class for launch another air aplication, this is my code


      var arguments:String = "-launch " + idAir + " " + pubId + " -- -argument1";

      var mgr:ProductManager = new ProductManager("airappinstaller");



      Im trying to pass "arguments" to my other app, but it doesnt show anything, this is the way that im capturing the argument


      <?xml version="1.0" encoding="utf-8"?>

      <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"  invoke="onInvoke(event)">






                                         private function onInvoke(event:InvokeEvent):void










      I've searched a lot, of this kind of launching apps, i know that exist the famous "air.swf" but it doesnt work with the runtime 3.1 (at least to me) so that's why im using ProductManager, but i have this issue and i have to recieve something on my child app..


      If someone knows the answer i will be very grateful..


      (Sorry for my bad english)