# Ready to go as3 from as2 but need help

**URL:** <https://forum.kirupa.com/t/ready-to-go-as3-from-as2-but-need-help/286253>\
**Category:** Uncategorized\
**Created:** [April 12, 2009, 11:25pm UTC](https://forum.kirupa.com/t/ready-to-go-as3-from-as2-but-need-help/286253 "2009-04-12T23:25:55Z")\
**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:** [April 12, 2009, 11:25pm UTC](https://forum.kirupa.com/t/ready-to-go-as3-from-as2-but-need-help/286253/1 "2009-04-12T23:25:55Z")

</div>

Hello 🙂  
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 ? 🙂

Cheers
