okay, basically, i have a button that when pressed, i want it to do a few things…
1- on rollOver, go to and play (my MC instance here) the intro animation for MC
2- on rollOut, same as above but plays the outro animaiton i have setup on the same MC as above
3-on press, do the action etc…
4- go to my other MC (soundctrlMC // instance name " control ")with sound in it and fade it out, and as far as this one is concerned, i have that MC (soundctrlMC) with volume control actions on certain frames etc…
now this is where the problem starts, the button ONLY works when i have one or the other active but not both…meaning itll work if i ONLY have the actionscript (steps 1-3 above) OR (step 4) by itself but i cannot nest all the code together…if i do then steps 1-3 work but 4 doesnt.
heres the code.
on (press) {
if (getProperty (“/control”, _currentframe )==2) {
tellTarget (“/control”) {
gotoAndPlay(3);
}
} else if (getProperty (“/control”, _currentframe )==21) {
tellTarget (“/control”) {
gotoAndPlay(21);
}
}
}
on (press) {
gotoAndStop(194);
}
on(rollOver){this.nycMC.gotoAndPlay(2)}
on(rollOut){this.nycMC.gotoAndPlay(51)}
on(press){gotoAndPlay(194)}
also when i test the code it says there arent any errors so i dont understand…
i need help BAD…