Hey Bill,

You might want to try that link Doug posted earlier suggesting using
navigateToURL().  Search that page for:  mailto

The link for the page is:
http://livedocs.macromedia.com/flex/2/docs/00001013.html

I use use virtually identical syntax in my Flex 2 app and it has proven
solid for me.  Here is the code straight out of my app:

private function clickSendEmail():void {
   var u:URLRequest = new URLRequest("mailto:?subject=Hello World!" );
   navigateToURL(u,"_self");
}

Also, last week Bruce Phillips' put up a detailed posted on his blog
highlighting using navigateToURL().  In particular see the logic in Bruce's
goToEmail() function.  Bruce's post is here:
Creating Web Page and Email Links In A Flex Application
www.brucephillips.name/blog/index.cfm/2006/11/21/Creating-Web-Page-and-Email-Links-In-A-Flex-Application

Bruce's post also includes the following link:
see here for a demo, right click to view
source<http://www.brucephillips.name/flex/leadershipUser/leadershipUser.html>

Best of luck,

g

On 11/30/06, bghoward3 <[EMAIL PROTECTED]> wrote:

thanks but i am not having success with this, it generates several
errors once i declare the vars

Reply via email to