-
INCREDIBLY LAME question about buttons....
Hello
I just want to make a simple button with a link to an email. How do I do this?
I dont know where to put the email/getURL code and how to assign it to the button...
Thank you sincerely
-
Code:
on (release) {
getURL("mailto:<emailaddress>");
}
You need to select your button, open the actions panel, and add this code. (replace the <emailaddress> with the email address you want.)
Hope this helps. Believe me, I have asked some lame questions too.
-Aaron
Last edited by Adobemedia; 11-19-2008 at 10:59 PM.
-
-
Developing For Dunkets
Did you replace <emailaddress> with the email address?
Either test it in flash or live on a server- you can't test this from the desktop.
-
haha im not that daft!
MIcrosoft Outlook was supposed to open, right?
But nothing happened
-
Ive searched the ENTIRE internet but none of the tutorials either work or dont bother to tell how to make the buttons to work.
The thing is when I create a button and a select it, the getUrl option in the Actions panel is dimmed.
Its really lame that Im having problems with such a basic and common thing... this shouldnt be questions of hours and days, it should be done in a few seconds, right?
-
Developing For Dunkets
You never know.
You know what, it might be because it's on an object. Try taking it off. Give your button an instance name and then click on an empty layer and put these actions in. For example I'll use myBtn as the instance name:
PHP Code:
myBtn.onPress = function(){ getURL("mailto:mneil@mneilsworld.com"); }
If that doesn't work you're doing something wrong because I just did it.
-
It works. Thanks!
I thought its not working cause I wasnt testing it from a html. Outlook Express deosnt start up when testing in flash player ..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|