|
Your time now: Mon Nov 23, 2009 9:04 am
|
View unanswered posts | View active topics
| Author |
Message |
|
EricStriffler
|
Post subject: I'm having trouble making a button in Flash 8... Posted: Sun Dec 16, 2007 6:06 pm |
|
Joined: Sun Dec 16, 2007 5:51 pm Posts: 2
|
|
Now I've made plenty of buttons before but this is the first I've tried to make in Flash 8.
For some reason every time I try to do it it tells me there's a problem in the script. SOmeone told me rather thab put the "GetURL" part on the button itself, I should put it on the frame. But all that did was make it immediately get the url as soon as it got to that frame.
Can anyone tell me what to do to make the button work?
|
|
| Top |
|
 |
|
Tomi
|
Post subject: Posted: Sun Dec 16, 2007 10:39 pm |
|
 |
| 500+ Club |
 |
Joined: Mon Jun 26, 2006 7:51 pm Posts: 926
|
|
I am no actionscript expert but you need something along these lines...
myBtn_btn.onRelease = function(){
getURL("http://website.com","_self");
};
^^ that might not work as i probably wrote it wrong but change the myBtn_btn to the name of your button and change the web address to your site then put that script on a key frame on a separate layer at the same point as the frame your button is on.
Hope that helps.
_________________ I'm back and I'm 18
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|