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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail 1

Status
Not open for further replies.

melocco

Technical User
Jan 19, 2001
229
US
Ok I got the buttons working. But I NOW LOL want to know how to have the button be a link to E-Mail some one.
 
If you just want to open the user's browser's default mail form, try something like this in your get URL action:
on (release) {
getURL ("mailto:youremail@hotmail.com", "blank");
}
It works in Flash 4... it should do the same in Flash 5!

If you want to design your own form, check out this tutorial
It's also written for Flash 4... so you'll have to adapt it to Flash 5 syntax, but it should work also!

You can also type mail in the advanced search box in the forum's menu... A lot of threads on the subject!

Do I get another star?

;-)
 
hi

Use the getURL action. Instead of http//:.... just put in mailto:emailaddress@blah.com

i.e. if you wanted to set up an automatic e-mail link to me your button would have the actions:

On (press)
getURL (mailto:davdesign@hotmail.com)
End On

dD

PS: been upgrading computers past 36 hours so apologies for not replying to e-mails if sent. (didn't know we had a Jedi Knight in the forum Old!!!) davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Thanks. I'm still havign probs. with the links. If the html is going to be set in frames. And I want to get the link to target like err.... main. Would I need to put like .....

on (release){
geturl("start.html target=main")
}

Or


on (release){
geturl("start.html\" target=\"main")
}

Thanks again oldnewbie
 
Melocco:

on (release) {
getURL ("merry.html", "mainsite");
}

... mainsite being the name of your frame in the frameset!

;-)

 
Sorry for repeating your message Old, must've posted at same time!!

On (release)
getURL ("start.html", window="main")
End On

But make sure that the frame you want it to load in has the name "main".

dD davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
I'm going to bed........sock it to em Old!!! No need for me here....See you next week!

dD davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Melocco:
Don't think you need to add "window=" in Flash 5... that's Flash 4 stuff!
Goodnight dD!

;-)
 
Hey ...I tryed to write it that way. With & with out the window. But for some reason every time I try to put some thing in, it does some crazy stuff. Flash 5 puts everything in the: geturl("") and soforth. But When I put the url in like geturl("start.html") flash put the "" in it for me. When I try to put somthing else in it like: geturl("start.html" "main") it does this: geturl("start.html\" \"main") I've tryed it everyway posibble but it just comes up web site not visitable. The whole page not the "main" that I wanted. ????????? Hope your still out there OldNewbie....Thanks for all your help sofar... Like I said earlyer, This is my first time with any flash. I knew I was getting in over my head when I got it....But thanks for your help...I owe you one. Need a crack.. LOL
 
Good morning! Yeah... I'm still around but having a hard time with my connection!
Here's what's probably wrong. When you right click on actions... hit the right top arrow, and select expert mode. You'll then be able to edit your actions like with a text editor. Normal mode is for like presets.

Now type or edit your action:
on (release) {
getURL ("merry.html", "mainsite");
}
... mainsite being the name of your frame in the frameset!

Watch the syntax!

I'll be around but as I said... connection problems this morning!

;-)


 
I know what you mean. I've got cable but my cable has been out since last sunday morning. I've been fussing but it doesn't seem to do no good. I had to go back to a 56K. After you've been on cable and have to go back to 56k it's slow as a snail. I'll try that. I though that you had to do all of that in normal mode. Thanks again. Hope your connection gets better.....Melocco....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top