actionscript question
actionscript question
- Started
- Last post
- 7 Responses
- lyrek
i have 15 mcs with a frame for "lit" and "unlit". i want, when clicking on 1, for the other 14 to toggle to the unlit stage.
i don't want to have this for each mc:
on (release){
btn1.gotoAndStop("lit");
btn2.gotoAndStop("unlit");
btn3.gotoAndStop("unlit");
btn4....is there a fast way to manipulate multiple mcs to advance to a frame name?
- ********0
for(i=0;i
- ********0
oops. it's called enumeration.
email me and i'll send you the code to do it.
- mirola0
i=0;
this['btn'+(i++)].gotoAndStop("u... lit");
while(i++
- mirola0
haha, what jred said....
- ********0
haha :)
*NT feature request!
- lyrek0
hey jared, sen'cha an email. thanks!
- ********0
hey sen'cha i relplied.
good luck.