Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crazy behaving with buttons

Status
Not open for further replies.

Kindon

Programmer
Apr 19, 2001
54
US
Look at this flash I made ( It is one of my first. The problem is in the buttons. As expected, when you mouse over the button a description appears in the middle. However, mouse over the area where where the description is at and you get some wacky behavior.

Here is what I did wrong. When I created the buttons, I made the description part of the button. As a result when you mouse over the "button" part only, you are OK. If you mouse over the description part you are mousing over part of all four buttons. This was greatly unseen on my part.

So what do I do? I think I need to break the desctription part out of the button and put it into a separate symbol. Then I need to make it visible when I mouseover a button. How do I set it to initially be invisible? Which action do I use to make it visible and invisible?
 
make the buttons again and just leave a text box for the description

for the buttons add

on (rollOver){
mytext = "blah blah"
}
on (rollOut){
mytext = "";
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top