Prototypes for components

How to you assign prototypes to components?

I guess you have to use

MovieClip.prototype.myfunction=function(){
}

crap… I guess that would work… but theres no way to assign a prototype to a specific component?

As far as I know, prototypes exist in classes, not in components. What you could do of course is use a class for a component, then assign prototypes to that class.

oh ya…makes sense…thanx guys