# Movie Communication\_onRollOut

**URL:** https://forum.kirupa.com/t/movie-communication-onrollout/163775
**Category:** flash
**Created:** [September 26, 2005, 6:20am UTC](https://forum.kirupa.com/t/movie-communication-onrollout/163775 "2005-09-26T06:20:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jondj24](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jondj24](https://forum.kirupa.com/u/jondj24)
#### Post date: [September 26, 2005, 6:20am UTC](https://forum.kirupa.com/t/movie-communication-onrollout/163775/1 "2005-09-26T06:20:11Z")

</div>

hello.  
i am having trouble making 2 movies communicate with one another.  
one movie ([COLOR=Teal]series[/COLOR]) is embedded into the other ([COLOR=Blue]content2[/COLOR]).  
[COLOR=Blue]‘content2’[/COLOR] is a horizontal scroll menu of images. [COLOR=Blue]‘series’[/COLOR] is a movie that  
holds [COLOR=Blue]‘content2’[/COLOR] and contains a mask which will reveal everything upon  
the rollover of the [COLOR=Red]‘series’[/COLOR] button. [COLOR=Magenta]i can get the scroll to show and work  
when the button is rolled over but it fails to hide on roll out.[/COLOR]

here is the code i have used on the roll over button called ‘series’:

```auto

stop(); // stop the movie clip from playing (stop button from growing, we want that when the mouse rolls over only
											 
sym2.onEnterFrame = function(){
	if(rewind == true){ //if rewind switch is set to true play backwards
		prevFrame(); // play backwards
	}
}

sym2.onRollOver = function(){
	rewind = false; //set variable (or switch) that decides wether ot not to play backwards...
	play(); // play this movie clip.. (grow the button(tween));
	if (_root.start_mc.navigation._visible == 0) {
        _root.start_mc.navigation._visible = 1;
    } else {
        _root.start_mc.navigation._visible = 0;
    }
}

sym2.onRollOut = function(){
	rewind = true; //set or rewind switch to true so it will play backwards...
	if (_root.start_mc.navigation._visible == 1) {
        _root.start_mc.navigation._visible = 0;
    } else {
        _root.start_mc.navigation._visible = 1;
    }
}

```

again, the roll out function isn’t working. can someone please help me. the .fla is attached.  
thank you.
