Flash Vista - 主页
本周的热门 Flash 网站
The Two Tales
Site info | 档案文件
主项
主页
新进网站链接
优良评选网站
热门网站
编辑推荐
查找

Flash Tutorials
Flash Resources
FlashVista 新闻
Flash Templates
Flash Intro Templates
Website Templates
Flash Games
Flash Books
FlashVista 票选
本站图


无故定网站连结
English
Liquid Journey
Site info | 找寻另一个
FlashVista
登录
注册注册
订阅电子报

新建网站链接
编修网站链接
个人喜好网站
建议新分类

打广告
支持
致谢
联落 F

Flash Templates:

More Templates ...

电子报
用户

密码



注册注册
忘记密码?
Partner websites
Free Hit Counter
Free Seo Tools
Free Tutorials
Free Video Tutorials
Forum signatures
Best Free Scripts
Wii Fit
Wii Fit News
Cool Tech Gadgets
Other Resources
推荐
推荐本站给朋友


电子报
状态: 尚未登录

Simplified Chinese English German French Spanish Italian Portuguese Russian Polish Finnish Dutch Swedish Thai Romanian Traditional Chinese Simplified Chinese
查找尚未登录
关键字: 查找:: 高级查找


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.





(注册日期: 02-12-2005, 点阅人次: 0, 评比积分: 3.57, 票数: 105, 评论篇数: 16)
新建至个人喜好 建议本站给朋友

评论篇数: (10)

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

(注册日期: 02-07-2007 用户: 访客)

Definitly more simple than other tutorials! Thanks
(注册日期: 12-20-2006 用户: 访客)

doesnt work in macromedia, but when I pubilsh it in a html document it works just fine, thank you...
(注册日期: 12-16-2006 用户: 访客)

thank you
works very fine

(注册日期: 11-21-2006 用户: 访客)

It's not passing the mail address to the mail to area in outlook.
(注册日期: 10-31-2006 用户: 访客)

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.
(注册日期: 10-12-2006 用户: 访客)

I had the same trouble with the subject field UNTIL I put the swf server side and then it worked.... wierdness indeed
(注册日期: 09-11-2006 用户: 访客)

This will only work when looking at the final result inside a browser; it won't work when you Test Movie.
(注册日期: 08-30-2006 用户: 访客)

Hi there...

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

(注册日期: 08-30-2006 用户: 访客)

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


(注册日期: 08-24-2006 用户: 访客)


新建评论
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


评分



很棒!
非常好