# Create instance by name: AS3 equivalent to AS2's new \["Blah"\]();?

**URL:** <https://forum.kirupa.com/t/create-instance-by-name-as3-equivalent-to-as2s-new-blah/240981>\
**Category:** flash\
**Created:** [October 9, 2007, 3:33am UTC](https://forum.kirupa.com/t/create-instance-by-name-as3-equivalent-to-as2s-new-blah/240981 "2007-10-09T03:33:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aesir](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@Aesir](https://forum.kirupa.com/u/Aesir)\
**Post date:** [October 9, 2007, 3:33am UTC](https://forum.kirupa.com/t/create-instance-by-name-as3-equivalent-to-as2s-new-blah/240981/1 "2007-10-09T03:33:40Z")

</div>

I need to be able to create instances of classes by class name, from a String.

\*\*In AS2, I could do var a:Array = new “Array”;

Is there a new way to do this is AS3?\*\* Using the entire file path would also be useful.

Thanks!
