# Can it be done?

**URL:** https://forum.kirupa.com/t/can-it-be-done/217052
**Category:** Uncategorized
**Created:** [February 22, 2007, 4:42pm UTC](https://forum.kirupa.com/t/can-it-be-done/217052 "2007-02-22T16:42:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sparky\_157](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sparky\_157](https://forum.kirupa.com/u/sparky_157)
#### Post date: [February 22, 2007, 4:42pm UTC](https://forum.kirupa.com/t/can-it-be-done/217052/1 "2007-02-22T16:42:11Z")

</div>

I’m new to flash and it’s really kicking my \*\*\*\*\* today. so i’ll try to make my question as simple as possible.

I have a button that plays 3 movie clips using onRelease, tellTarget and gotoAndPlay. What I want to happen is when another button is pressed and the 3 movie clips are active, to rewind them and load the a new movie cilp.

here is the script on the button that loads the 3 movie clips

```auto
stop();
 
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
 
this.onRollOver = function(){
rewind = false;
play();
}
 
this.onRollOut = function(){
rewind = true;
}
 
this.onRelease = function() {
tellTarget ("_root.main_nav") {
	gotoAndPlay(1)
}
tellTarget ("_root.main_nav.serv_sub_nav") {
	gotoAndPlay(1)
}
tellTarget ("_root.main_nav.home_text") {
	gotoAndStop(2);
}
};

```

Thanks in advance for your help, any suggestions on books/websites to assist with actionscript that are straight forward and simple would be greatly appreciated as well.
