# Multiple prototypes for one mc?

**URL:** <https://forum.kirupa.com/t/multiple-prototypes-for-one-mc/130589>\
**Category:** Uncategorized\
**Created:** [December 6, 2004, 4:03pm UTC](https://forum.kirupa.com/t/multiple-prototypes-for-one-mc/130589 "2004-12-06T16:03:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![H4T](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/h4t/32/329_2.png) [@H4T](https://forum.kirupa.com/u/H4T)\
**Post date:** [December 6, 2004, 4:03pm UTC](https://forum.kirupa.com/t/multiple-prototypes-for-one-mc/130589/1 "2004-12-06T16:03:50Z")

</div>

I want to apply two different prototypes to one mc (one for movement, one for behavior), but both prototypes have onEnterFrames in them…so the one executed last works but the one executed before it won’t. How can I fix this problem?

(It may sound terribly ineffecient to have 2 prototypes for 1 mc, but one prototype is applied to many mcs, and the other is applied to only certains types of mcs (in this movie)).
