Hi, can succesfully launch my app, but still I can´t pass any argument to
it :_(

this my try, It doesnt launch nothing, but it works if the argument is
empty launchArgs=["-launch", appID, pubID, ""];

import adobe.utils.ProductManager;
            private var pMan:ProductManager;
            private var appID:String = "OSTvideo";
            private var pubID:String = "";


            private function lanzarVideo():void{
                trace("lanzar")


                pMan = new ProductManager('airappinstaller');

                var launchArgs:Array;
                launchArgs=["-launch", appID, pubID, "argument1"];
                pMan.launch(launchArgs.join(" "));

            }
        ]]>

Please help!


2013/2/17 atauri <[email protected]>

> Nice example about launching air apps from air apps.
>
> blog.everythingflex.com/2009/06/08/open-an-air-application-from-a-2nd-air-application/
> not tested with parameters yet
>
>
> 2013/2/17 atauri <[email protected]>
>
>> Hi, I am writting a videoplayer (the n-videoplayer) and I want to launch
>> it from another app or website and pass to it the url of the video.
>> How can I do that??
>> I found info about NativeApplocation and Invoque event, but qhere do I
>> put the parameters, and how to launh the videoplayer from other app?
>>
>> Thanks
>>
>> --
>>  ¿ Te gustan las *Abejas* y la *Tecnología* ? Sígueme en 
>> Twitter<http://twitter.com/apilink><http://twitter.com/apilink>
>>
>>   (\__/)
>>   (='.'=)   This is Bunny. Copy and paste bunny into your
>>   (")_(")   signature to help him gain world domination.
>>
>
>
>
> --
>  ¿ Te gustan las *Abejas* y la *Tecnología* ? Sígueme en 
> Twitter<http://twitter.com/apilink><http://twitter.com/apilink>
>
>   (\__/)
>   (='.'=)   This is Bunny. Copy and paste bunny into your
>   (")_(")   signature to help him gain world domination.
>



-- 
 ¿ Te gustan las *Abejas* y la *Tecnología* ? Sígueme en
Twitter<http://twitter.com/apilink><http://twitter.com/apilink>

  (\__/)
  (='.'=)   This is Bunny. Copy and paste bunny into your
  (")_(")   signature to help him gain world domination.

Reply via email to