# Movieclip\_onRollOver

**URL:** https://forum.kirupa.com/t/movieclip-onrollover/226548
**Category:** flash
**Created:** [May 22, 2007, 8:27am UTC](https://forum.kirupa.com/t/movieclip-onrollover/226548 "2007-05-22T08:27:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sidhu](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@sidhu](https://forum.kirupa.com/u/sidhu)
#### Post date: [May 22, 2007, 8:27am UTC](https://forum.kirupa.com/t/movieclip-onrollover/226548/1 "2007-05-22T08:27:59Z")

</div>

Helo guru’s

i am trying onRollOver in movieclip.with this code  
home.onRollOver = function() {  
this.gotoAndPlay(2);  
};

when i give this code in keyframe its working but when i select movieclip than press F9  
give this code in action panel but its not working  
so what is the problem plese any one help me

sidhu\>G
