Thanks Steve

Your code work fine and dont need a JavaScript in a HTML shell page.

and thanks again for you and Brendan from the last post that give me a
diferent solucion.








--- In [email protected], "Steve Cox" <[EMAIL PROTECTED]> wrote:
>
> Try:
>  
> <mx:Script>
> <![CDATA[ 
> public function executEmail(event:MouseEvent):void{ 
> var u:URLRequest = new URLRequest ("mailto:[EMAIL PROTECTED]
> <mailto:mail%40someone.com> com");
> navigateToURL(u,"_self"); 
> }
> ]]>
> </mx:Script>
>  
> Steve
>  
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of jf.saldanha
> Sent: 26 July 2006 19:06
> To: [email protected]
> Subject: [flexcoders] mail from Flex
>  
> Hi FlexCoders
> 
> I need some Help on this Issue, I try this to send Email from Flex:
> 
> <mx:Script>
> <![CDATA[ 
> public function executEmail(event:MouseEvent):void{ 
> var u:URLRequest = new URLRequest ("mailto:[EMAIL PROTECTED]
> <mailto:mail%40someone.com> com");
> navigateToURL(u); 
> }
> ]]>
> </mx:Script>
> 
> <mx:Button click="executEmail(event)"/>
> 
> This work, open a default Email window but open a Browser window to.
> 
> Need some Help Thanks
> 
> jf.sal
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to