PDA

View Full Version : attaching an AS2 class to a dynamically created movielclip


enrique550
07-28-2005, 04:33 PM
I created my clip:

this.createEmptyMovieClip ("viewport_mc", 1);

and would like to attach my AS2 class to it as If I were doing it through the linkage in the library. Is it possible?

thanks a mil,

G

mambenanje
07-28-2005, 04:59 PM
well check the AS help for this function of the object class,
Object.register("link","class")