# MovieClip Class

**URL:** <https://forum.kirupa.com/t/movieclip-class/321317>\
**Category:** flash\
**Created:** [April 16, 2011, 9:26am UTC](https://forum.kirupa.com/t/movieclip-class/321317 "2011-04-16T09:26:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dushan69](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@Dushan69](https://forum.kirupa.com/u/Dushan69)\
**Post date:** [April 16, 2011, 9:26am UTC](https://forum.kirupa.com/t/movieclip-class/321317/1 "2011-04-16T09:26:25Z")

</div>

Hello,

I am new to action script 3.0 and i have been reading the tutorial about MovieClip classes on [kirupa.com](http://kirupa.com), and i learned a lot from it. Yet i have a question about doing a movieclip button class that does roll\_over and roll\_out function? I need that mostly because of understanding how the class work and if that Is anyhow possible and if it is, i would appreciate someone explaining to me an example of doing such thing.

More precisely, i need to know a process of tweening a button via class, so that on roll over it does tween i have entered via code and on roll\_out other kind of a tween

Thanks, Dushan.
