I don't know what's so great about it , but code below works (in AS3)
Main Topics
Browse All TopicsI have a menu created in Flash CS3. It is a movie clip and I am trying to add the links to the buttons.
Here is what I have so far:
onClipEvent (load) {
num = 2;
}
on (rollOver) {
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
getURL(www.google.com);
}
However, it does not work. When I click the button, nothing happens.
1. Is this the correct method to add a link to this 'button'
2. How do I make it work?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Maybe I did not state my question correctly.
The tempalte I am editing has a Layer called 'menu2', when I double click that layer to open it up it shows all the different buttons in the menu, there are 12 of them.
(See Snap1)
When I click on the first menu option and then press F9 I see a window with a tab called 'Action - Movie Clip.
(See Snap2)
Note: Is it strange to anyone that there are 36 (12 x 3) butn items listed in menu2?
Anyway, where do I add, change, edit the action script code (see below)
onClipEvent (load) {
num = 1;
}
on (rollOver) {
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
So that each button, when clicked, will redirect the user to the correct internal page or external web site?
Thanks!
onClipEvent (load) {
num = 2;
}
on (rollOver) {
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
//// if you want to open it in new window you can use getURL("www.google.com","_
getURL("www.google.com");
}
Business Accounts
Answer for Membership
by: MMDeveloperPosted on 2008-10-17 at 11:43:58ID: 22743884
try placing the URL within quotes
com");
on (release) {
getURL("http://www.google.
}