# Change the behaviour of a movie clip

**URL:** https://forum.kirupa.com/t/change-the-behaviour-of-a-movie-clip/227653
**Category:** flash
**Created:** [June 1, 2007, 12:07am UTC](https://forum.kirupa.com/t/change-the-behaviour-of-a-movie-clip/227653 "2007-06-01T00:07:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rohan](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@rohan](https://forum.kirupa.com/u/rohan)
#### Post date: [June 1, 2007, 12:07am UTC](https://forum.kirupa.com/t/change-the-behaviour-of-a-movie-clip/227653/1 "2007-06-01T00:07:44Z")

</div>

Hi,

just wondering if there is a script that could let me change the way that a movie clip behaves, for example, I have movie clip “a” and in a certain frame I have the function;

a.onRollOver = function (){  
gotoAndPlay (“that”);  
}

can I later have a script that removes the onRollOver property so that the movie clip is once again JUST a movie clip and not a movie clip button?
