ok, here is my question. i am using scripts to rewind a certain MC when a button is pressed. all works well and good until I tried to do the same with another MC on the main timeline as well.
this is how it is currently set up:
(working MC)
xtraMC has this code on it-
onClipEvent (enterFrame) {
if (_root.direction == “rewind”) {
this.prevFrame();
}
}
then inside it, on the first frame is this-
_root.direction = “foward”;
and the last frame-
stop();
then, on the button on the main timeline that rewinds it is this-
on (press) {
_root.direction = “rewind”;
}
i tried doing the same for labelMC (the second MC on the main timeline) but instead of _root, i tried other things, and nothing is working. can someone please tell me how to do it the right way?
thanks in advance.
holy cow! i got it to work! thanks both of you guys for answering. i checked out that post though, and after looking at some of the codes, i treid revising mine and it worked. this is what i did.