3 state flash btns
- Started
- Last post
- 6 Responses
- mightyj
I am trying to get my head around creating a dynamic navigation. I have movie clip that is duplicated and I have an invis btn that controls the roll in and out. What i can't seem to find help on is the 3rd state which would be "clicked" or "selected". Does anyone have a good method for making a 3 state button and you must be able to turn off the selected state if other buttons are selected. ANy help would be great. Thanks in advance.
- jackfoley0
I think there might be some examples at http://laco.wz.cz/tween/
- ********0
Don't use buttons. Use movie clips and then you can have as many states as you want. If you don't want to use AS to control the state you can label frames on it's timeline and send your playhead to that label as required.
Ie on, off, active etc etc....
- mightyj0
skt, I am using mc's and I have it already doing the rollover and rollout states. It's the selected state i am having a hard time with since you have to keep tack of what is selected and not selected. Turn nav items to their off state. I was looking more for direction in that area.
- mightyj0
sheesh what happened to that site:
ttp://laco.wz.cz
it is running so slow compared to when I used to check it out.
- UndoUndo0
set up all yr mcs into an array.
when one button is clicked loop through the array and set all MCS to the normal position/frame excpet the one you have clicked.
to pick up the exception use an IF statement which you can then send to your 'active' Frame
- mightyj0
So, i should use the clip names as the array item ex. nav1, nav2, etc...?
I know this may be rudimentary but how do you go about looping through an array. I am thinking with the for loop. The syntax of adding the array info to the for loop is a bit above me right now.
thanks though this is the direction i was looking for.