# Quick class question

**URL:** <https://forum.kirupa.com/t/quick-class-question/213239>\
**Category:** Uncategorized\
**Created:** [January 18, 2007, 12:09am UTC](https://forum.kirupa.com/t/quick-class-question/213239 "2007-01-18T00:09:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![esper](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@esper](https://forum.kirupa.com/u/esper)\
**Post date:** [January 18, 2007, 12:09am UTC](https://forum.kirupa.com/t/quick-class-question/213239/1 "2007-01-18T00:09:58Z")

</div>

I have recently jumped into the world of custom class development. I have a quick question about what direction to take on this.

I have a custom class that basically will, onRollOver, cause a movie to fade in, and onRollOut, do the opposite. I have got that working correctly.

I have twenty five movie clips that need to function the same exact way. All of these mc’s are housed in one container\_mc. They have the instance name of “mcBlip”.

How can I implement this class once and make everything instanced as “mcBlip” in the “container\_mc” clip function?

Note: the movie structure is like this.

container\_mc - holds twenty five clips named panel1, panel2, etc…

inside the panel1 mc’s is a two layer mc the top layer mc is “mcBlip” that I want to fade in/out

Any help on pointing me in the right direction would be greatly appreciated.
