Need Simple Actionscript!

Hi - I need some simple action script that will do the following:

When the mouse moves OFF a movie clip that i have i need it to play a certain frame or movieclip.

If anyone could help would be great…

put a button in your mc on the top layer and give it some AS like:

on(rollOut){this.gotoAndPlay(“yourframelabel”)};

that is if you want to go to frames in that same mc.

If you want to control another mc or go to frames in your main timeline just
reference what timeline you want to control like this:

on(rollOut){_root.anothermc.gotoAndPlay(“myframelabel”);

hope that helps

thanx “natronp” - after playing around with what you gave me I finally got it working, thanx heaps for that :slight_smile: