Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mailto in actionscript

Status
Not open for further replies.

TaiChi56

Technical User
Mar 6, 2002
188
US
I have a file that works with a pop up window. I am using the flash component to make an email pop up window. I can get all the users name in it but cannot get the code to work so when you click on the name it will open the users mail and they can email that person. Here is the code.

label1="Email"

content1=&quot;Click on persons name<br>
<font color=\&quot;#FF0000\&quot;>
<u><mailto:pWalton@allstar-autosales.com>Paul Walton</a>

</u></font><br><font color=\&quot;#FF0000\&quot;><u><mailto:RMayfield@allstar-autosales.com window=\&quot;_blank\&quot;>Russell Mayfield</a>

</u></font><br><font color=\&quot;#FF0000\&quot;><u><mailto:pBluntzer@allstar-autosales.com window=\&quot;_blank\&quot;>Paul Bluntzer</a></u></font><br><font color=\&quot;#FF0000\&quot;><u><mailto:LCrawford@allstar-autosales.com window=\&quot;_blank\&quot;>Linda Crawford</a></u></font><br><font color=\&quot;#FF0000\&quot;><u><mailto:RGarza@allstar-autosales.com window=\&quot;_blank\&quot;>Rick Garza</a></u></font>&quot;

Hope you get the idea. What am I doing wrong. As you see the names are highlighted and they work as email links posting it here. It does not work in the popwindow.

You can go to and click on the email button to see how it looks right now. Thank you.
The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
You can't use html code like that from within flash unless your loading the code into flash via a text file..

For simple e-mail links in flash just use this:

on (press) {
getURL(&quot;mailto:carlsatterwhite@orlandomediasolutions.com&quot;);
}

Place those actions in each one of your buttons..And if you are calling that from a text file make sure you have the html button activated on the dynamic text box..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top