|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am using Flash 5 on an Apple laptop and am new to this. Can someone please help!
I am trying to "hold" the down state of my buttons after the user has clicked on them. For example, in the following link, I would like the link HAYWARD to remain orange after the user has clicked on it. URL Is there are a simple way of doing this? Thanks in advance. MC |
|
#2
|
||||
|
||||
|
You can't really do that in the down state of a button. You'll need to use just a tad of actionscripting and a movie clip. I've made you an example below and encoded it in Flash 5.
|
|
#3
|
|||
|
|||
|
Hey: thanks so much for that.
Am having trouble with the download though. Is it possible to talk me though the action scripting? Cheers MC |
|
#4
|
||||
|
||||
|
Sure. For instance if you have a button that says "Press Button" and it has dark grey text, drag it onto the stage and then make a movie clip and give it an instance name of "clip." Inside the movie clip put a stop action in the first keyframe and in the second keyframe add some text that says "Press Button" with maybe some white text. Lastly drag the movie clip and align it in the center of the button. Inside the button's actions panel, add this code:
on (release) { clip.gotoAndStop(2); } |
|
#5
|
|||
|
|||
|
Thank you.
You are THE MASTER! MC |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Flash 5 Button State |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|