Solved

flash menu: 2nd button doesn't work

Posted on 2007-03-19
5
166 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
  • 3
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
sibgig 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:sibgig
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now