Flash Vista - 首頁
Newest Cool Site
The Two Tales
Site info | Archive
Main Navigation
首頁
新進網站連結
優良評選網站
熱門網站
編輯推薦
搜尋

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


Random Link
English
Howblue Cabana
Site info | Get another
FlashVista
登入
登錄註冊
訂閱電子報

新增網站連結
編修網站連結
個人喜好網站
建議新分類

Advertise with us
Support us
Credits / Thanks
Contact

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
推薦
推薦本站給朋友


電子報
狀態: 尚未登入

Traditional 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)
新增至個人喜好 Suggest to a Friend

評論篇數: (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


評分



很棒!
非常好