# Better way to do it?

**URL:** https://forum.kirupa.com/t/better-way-to-do-it/82363
**Category:** Uncategorized
**Created:** [March 9, 2005, 7:40pm UTC](https://forum.kirupa.com/t/better-way-to-do-it/82363 "2005-03-09T19:40:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)
#### Post date: [March 9, 2005, 7:40pm UTC](https://forum.kirupa.com/t/better-way-to-do-it/82363/1 "2005-03-09T19:40:44Z")

</div>

Hello there,  
Here’s what i’m doing and i was wondering if there’s a better way to do it. Let’s pretend i have 10 MovieClips and 1 prototype function…  
Now to assign the function to each MC i go:  
MC1.myproto();  
MC2.myproto();  
(…)

Is there a better way to add this “behavior” to all the MC i want to? Like a Class (i guess?) or something?

TiA 🙂
