# Proper Way to Attach Classes

**URL:** <https://forum.kirupa.com/t/proper-way-to-attach-classes/225376>\
**Category:** flash\
**Created:** [May 11, 2007, 3:37am UTC](https://forum.kirupa.com/t/proper-way-to-attach-classes/225376 "2007-05-11T03:37:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingofnukes](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@kingofnukes](https://forum.kirupa.com/u/kingofnukes)\
**Post date:** [May 11, 2007, 3:37am UTC](https://forum.kirupa.com/t/proper-way-to-attach-classes/225376/1 "2007-05-11T03:37:51Z")

</div>

I want to dynamically attach a class to a movieClip without using the linkage method. I choose not to because i need to pass constructor vars into it and It can have multiple classes.

I want it properly attached so I can reference all the classes functions and variables through the MC. How can I do this?
