|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I'm having a problem with flash buttons. I made a document with only one frame but with lots of buttons. Everything is working fine but i wanted to know how to change the state of a button to force it to go to the "over" state(frame). You can take a look at the flash movie in: http://mega.ist.utl.pt/~jprpb/JBhomepage/Interrail.htm (the europe map) My goal was, when you click on a country button, that country would stay highlighted just like when the mouse is over it. I was thinking of something like release() and <button_instance>.goto("over") but that obviously doesn't work... Any ideas? Thanks in advance ![]() |
|
#2
|
||||
|
||||
|
Greetings,
You had the right idea. What you will need to use is what we call an empty movie clip. This is a clip that contains no content on the first frame. Then we can use actionscripting to control the clip from the root to make it appear as if our button is on a constant rollOver state. I've made you an FLA to show you how it works. Sincerely, Jamie Michels www.thedarkcontent.com Last edited by jmichels : October 14th, 2003 at 10:39 PM. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Begginer Question: Setting a button to the over state? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|