Flash Vista - Home
Newest Cool Site
The Two Tales
Site info | Archive
Main Navigation
Home
New Links
Top Rated
Most Popular
Cool Sites
Search

Flash Tutorials
Flash Resources
Flash News
Flash Templates
Flash Intro Templates
Website Templates
Flash Games
Flash Books
FlashVista Polls
Sitemap


Random Link
German
Hansi Helle
Site info | Get another
FlashVista
Login
Register
Subscribe

Add Link
Modify Link
Favorites
Suggest Category

Advertise with us
Support us
Credits / Thanks
Contact

Flash Templates:

More Templates ...

Mailing List
User

Password



Register
Forgot password?
Partner websites
Flash Templates
Flash Components
Free Hit Counter
Free Seo Tools
Free Tutorials
Free Video Tutorials
Forum signatures
Other Resources
Suggest
Suggest this site to a friend


Mailing List
Status: Not logged in

English English German French Spanish Italian Portuguese Russian Polish Finnish Dutch Swedish Thai Romanian Traditional Chinese Simplified Chinese
SearchNot logged in
Keyword: Search for: Advanced Search


Mailto: in Flash


NEW Flash Tutorials in Video Format - Powered by LearnFlash.com: 45 minutes of flash tutorials now available in streaming format or download. Topics Include flash for beginners, text effects, actionscripting, audio/video, flash 8 and more.


Printer version



By Ades Tynyshev
www.adesdesign.net

Mailto function in flash is not much different than Mailto function in HTML. In HTML this function is applied on links, whereas in Flash it is applied on buttons.

<a href="mailto:user@email.com?subject=Feedback">click here </a>

This is how it looks in HTML, to test how it works click here


And this is how it looks in Flash:

on (release) {
getURL("mailto:user@email.com?subject=Feedback");
}

Just create a button in flash, click on your button and open the Actions panel and copy the above code inside Actions panel. Change the email and subject to your own.



Here is how it should look and work after you have published it and implemented inside the HTML page.





(Added: 02-12-2005, Hits: 0, Rating: 3.64, Votes: 82, Reviews: 16)
Add to Favorites Suggest to a Friend

Reviews: (10)

THe problem is that these days you have to type:
button_name.onRelease= function () {
getURL("mailto:user@email.com?subject=Feedback");
}

(Added: 02-07-2007 User: Guest)

Definitly more simple than other tutorials! Thanks
(Added: 12-20-2006 User: Guest)

doesnt work in macromedia, but when I pubilsh it in a html document it works just fine, thank you...
(Added: 12-16-2006 User: Guest)

thank you
works very fine

(Added: 11-21-2006 User: Guest)

It's not passing the mail address to the mail to area in outlook.
(Added: 10-31-2006 User: Guest)

Must take a genius because the minute I move the button or movie into and area that already has animation I get a bug report when publishing and the link is as dead as a fish.
(Added: 10-12-2006 User: Guest)

I had the same trouble with the subject field UNTIL I put the swf server side and then it worked.... wierdness indeed
(Added: 09-11-2006 User: Guest)

This will only work when looking at the final result inside a browser; it won't work when you Test Movie.
(Added: 08-30-2006 User: Guest)

Hi there...

Thank you for the tip, have been banging my head against my desk trying to work this out!! :)

(Added: 08-30-2006 User: Guest)

for some reason, the subject field doesn't show feednack or whatever i change it to in Flash 8


(Added: 08-24-2006 User: Guest)


Add Review
Please note:
We review EVERY comment before it appears on the site, so please dont waste your time by posting spam links :)
No URLs allowed, no HTML please.

If you register or login first, your review will contain your nickname


Rate It



Excellent!
Very Good
Good
Fair
Poor