# \[FMX\] This should be easy, (i hope)

**URL:** <https://forum.kirupa.com/t/fmx-this-should-be-easy-i-hope/17353>\
**Category:** flash\
**Created:** [April 4, 2003, 2:54am UTC](https://forum.kirupa.com/t/fmx-this-should-be-easy-i-hope/17353 "2003-04-04T02:54:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Illuminae](https://avatars.discourse-cdn.com/v4/letter/i/b5ac83/32.png) [@Illuminae](https://forum.kirupa.com/u/Illuminae)\
**Post date:** [April 4, 2003, 2:54am UTC](https://forum.kirupa.com/t/fmx-this-should-be-easy-i-hope/17353/1 "2003-04-04T02:54:44Z")

</div>

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.🔗

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 4, 2003, 8:49am UTC](https://forum.kirupa.com/t/fmx-this-should-be-easy-i-hope/17353/2 "2003-04-04T08:49:22Z")

</div>

you said that it works if you do it with just one object.

can you post a copy of an FLA that you tried to get to work, but couldn’t?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 4, 2003, 5:02pm UTC](https://forum.kirupa.com/t/fmx-this-should-be-easy-i-hope/17353/3 "2003-04-04T17:02:30Z")

</div>

There is also a whole thread previously that was pretty much dedicated to different forms of the forward backward code…

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=11427](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=11427)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 5, 2003, 12:05am UTC](https://forum.kirupa.com/t/fmx-this-should-be-easy-i-hope/17353/4 "2003-04-05T00:05:05Z")

</div>

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.

on the 2nd MC,

onClipEvent (enterFrame) {  
if (this.direction == “rewind”) {  
this.prevFrame();  
}  
}

on the button that makes it rewind

\_root.aboutLabel.direction = “rewind”;

and then on the first frame

this.direction = “foward”;

:beam:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 5, 2003, 4:30am UTC](https://forum.kirupa.com/t/fmx-this-should-be-easy-i-hope/17353/5 "2003-04-05T04:30:56Z")

</div>

Glad you got it working 🙂
