Solved

flash menu: 2nd button doesn't work

Posted on 2007-03-19
5
181 Views
Last Modified: 2010-04-03
I am creating a flash menu with this tutorial:

http://www.tutorialized.com/tutorial/rollOver-buttons/22770

I really like it, but when I get to the second button, it doesn't work as you can see in my fla:

www.own-designs.com/djmark/flash/menu.fla

I need 5 buttons on the horizontal menu.

Thanks!
0
Comment
Question by:weikelbob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
Tom Ray earned 500 total points
ID: 18751839
both instances on the main timeline are named "button" when they need to have different instance names.

leave the home one as is.

change the bio button instance name to "button1"
and in the code for the bio button, change that to:

on (rollOver){
_root.button1.gotoAndPlay(2);
}
on (rollOut){
_root.button1.gotoAndPlay(11);
}

on (release) {
getURL("");
}

that will do it.
0
 
LVL 7

Author Comment

by:weikelbob
ID: 18751866
Awesome.

I'll get to work. Will be back.
0
 
LVL 7

Author Comment

by:weikelbob
ID: 18751873
Got it.

Thanks!!
0
 
LVL 11

Expert Comment

by:Tom Ray
ID: 18751877
then name subsequent button instance names "button2", "button3", etc... or whatever naming pattern suites you.

FYI:
in the code i gave you above, put your url back in, i removed it when i was testing.
0
 
LVL 7

Author Comment

by:weikelbob
ID: 18751895
OK. Sounds good.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
push Book Today button to right 10 103
Alert after MVC form submitted 1 40
Add a loading gif while php runs server side 15 96
Programming Language for Wordpress 7 87
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question