Ok I'm really just getting start with Flash and have looked for a tut and couldn't find something quickly enough for what I need...
Basically I have a movie, it gets to the end and stops using a bit of action script on the last frame. However I also want there to be a simple hyperlink on a bit of text which I have converted to a symbol (button). What is the process for doing this? Or can someone point me in the direction of a useful tut?
I've tried using
on(release) {
getURL ("http://www.website.com");
}
But get an error saying call to an undefined function.
Flash AS3 Hyperlink
Started by Druss, Aug 08 2007 03:38 AM
3 replies to this topic
#1
Posted 08 August 2007 - 03:38 AM
#2
Posted 13 August 2007 - 05:02 PM
Hi,
on(release) {
getURL ("http://www.website.com","_blank");
}
Click on the button and then add the action script to this button, seems like you are adding the code to the timeline.
regards
on(release) {
getURL ("http://www.website.com","_blank");
}
Click on the button and then add the action script to this button, seems like you are adding the code to the timeline.
regards
#3
Posted 14 August 2007 - 07:20 AM
dcpweb, on Aug 14 2007, 08:02 AM, said:
Hi,
on(release) {
getURL ("http://www.website.com","_blank");
}
Click on the button and then add the action script to this button, seems like you are adding the code to the timeline.
regards
on(release) {
getURL ("http://www.website.com","_blank");
}
Click on the button and then add the action script to this button, seems like you are adding the code to the timeline.
regards
#4
Posted 20 August 2007 - 10:49 AM
Ben, on Aug 14 2007, 08:20 AM, said:
Flash has no issues with spaces between function/method names and the brackets.
If he is actually using AS3 like the topic says, that code wont work. It's AS2.
You'll want to do a google search for buttons in AS3. It's a whole different ballgame compared to AS2.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
