I am calling standard Flex code to invoke an email client from my AIR
application:

I got the code snippet from here -
http://livedocs.adobe.com/flex/3/html/help.html?content=passingarguments_4.html

private function mailme():void
                        {
                                var u:URLRequest = new URLRequest("mailto:"; + 
ti1.text);
                                navigateToURL(u, "_new");
}

and in my application I have:

<mx:Label id="ti1" click="mailme()"/>

Error:

The email client opens up, but the AIR application crashes after that.
I have to shut it down.
Please help.

Thanks.


--~--~---------~--~----~------------~-------~--~----~
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