Ready to go as3 from as2 but need help

Hello :slight_smile:
So i’m ready to switch to AS3 but there is something i can’t figure out is, how do you write a class that attaches a clip from a library, WITHOUT specifying the class in the export to stage thing of the clip in my library ?

All i want is to have a single line like :
var myClassIntance:MyClass = new MyClass();

And have a clip attached to the stage and the class assigned to the clip…

Any one ? :slight_smile:

Cheers