I'm new to Flash. I am working with a Flash template and trying to edit it; I've found this to be the most effective way for me to learn stuff.
The template has some buttons but they are not associated with anything. They are just set to do a motion (movie, essentially) when cursor hovers over them. I would like to use a getURL function somehow to load a URL of my choice when I click on the button.
However I haven't been able to figure out how to code it. Currently the buttons just have this in Actions:
Code:
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(11);
}
What should I add to this to get the desired effect?