Play movie clip on mouseover

I haven’t a hard time doing something seemingly simple in flash.

Have a movieclip play through when you mouse over.
The entire fla file is a single mc symbol on the stage. I’d like to mouse over it and have the animation play.

Everything I’ve tried doesn’t seem to work, except stop(); and play().

Script in main scene frame 1:


stop();
this.cat_mc.onRollOver = function() {
 this.cat_mc.play();
}

This doesn’t work. I’m not sure why it wouldn’t - any help getting this to work would be wonderful!
Thank you!
Rich

If the MC exists on the first frame with the correct instance name (cat_mc) this should work:

cat_mc.onRollOver = function() {
  cat_mc.play();
}

Here’s and example. :slight_smile:

BPartch.
Man - that fixed it. I guess the ‘this’ keyword was the problem - throwing it out of scope?
Thank you!