Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

flash menu: 2nd button doesn't work

Posted on 2007-03-19
5
Medium Priority
?
192 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 2000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

715 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