<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
<mx:Script>
<![CDATA[
import flash.net.*;
public function openNewWindow(event:MouseEvent):void
{ var u:URLRequest = new URLRequest("http://www.adobe.com/flex";);
navigateToURL(u,"_blank"); }
]]>
</mx:Script>
<mx:Button label="Open New Window" click="openNewWindow(event)"/>
</mx:Application>
-- 

here you put your air application url in new url request it will
automatically download the air application

Happy Programming
Baluvasireddy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to