1 Reply Latest reply on Jan 14, 2009 8:19 AM by RyanLWatkins

    launchApplication() from website - possible from dom event, rather than flash click?

      I'm attempting to launch an AIR application from a website, and I understand that this method has to be called from a limited set of user generated events.

      Can this method be called from page level events in the browser - not just from event that come from the flash component? I'd like to launch the application from clicking an html element, not a flash component, but am not sure if this is possible? Can a swf proxy the necessary event to launchApplication()?

      <embed id="flash" allowscriptaccess="always" src="myappproxy.swf" name="flash"/>
      <div onclick="flash.startMyapp()">click</div>