i wonder if i can do a code on a button, that IF a movieclip have stoped at a frame(7), then gotoAndPlay(9). If not, then do gotoAndPlay(4).
Can anyone do the code for me? plz !
if it exist
i wonder if i can do a code on a button, that IF a movieclip have stoped at a frame(7), then gotoAndPlay(9). If not, then do gotoAndPlay(4).
Can anyone do the code for me? plz !
if it exist
if (myMC._currFrame=9) {
_root.gotoAndPlay(9); } else { _root.gotoAndPlay(4) }
i think i got that right… but i’m not sure, i’ve been awake for about 24 hrs…
isn’t that supposed to be
on(release) {
if(mymc._currentframe == 7) {
gotoAndPlay(9);
} else {
gotoAndPlay(4);
}
}
it didnt work… it should work to a mc…
where should i write in the mc name?
on(release) {
if(mymc._currentframe == 46) {
gotoAndPlay(48);
} else {
gotoAndPlay(10);
}
}
this is my code… but it dont work…
can any1 help me ?
or should i tkae the code on the frame?
plz let me know
Anyone? please help me with that above!!
on(release){
if(myMC._currentframe == 7){
gotoAndPlay(9);
} else {
gotoAndPlay(4);
}
}
and in place of myMC, put whatever movieclip you’re messing with (or the _root, if that’s the case)
Hope that helped.
:: Copyright KIRUPA 2024 //--