views:

34

answers:

3

Is there any tutorial on starting (not install but application start\wake up call with parameters) Adobe AIR app from browser (on button click within flash app using JS function or what ever is needed)?

Blog articles or any other materials wanted...

A: 

I'd assume this would be a sandbox violation unless there is a listener, listening for a certain URL or javascript call, much like iTunes and it's web links that launches iTunes.

Without it, I'm sure there would be plenty of malware launching programs on your machine.

pinnacler
A: 

Have you tried using a badge installer? A badge installer is a piece of flash you put in a web page, and when the user clicks it, it installs a given AIR app (and the runtime if necessary). However I believe that if the app is already installed, then clicking the badge installer simply launches the app instead. So the same piece of Flash would install the app for anyone who doesn't have it, and launch the app for people who do.

A tutorial is here.

Edit: I assume you're trying to launch an app that the user has already installed. If you mean to serve an app to the user and launch it without installing, then as pinnaclear says, that's definitely, definitely not possible.

fenomas
+1  A: 

If you edit the tags in the XML settings of your AIR application it should be able to boot up when a link is clicked on your website

<allowBrowserInvocation></allowBrowserInvocation>
PhysX