# Getting Movie Clip from Library in AS class

**URL:** <https://forum.kirupa.com/t/getting-movie-clip-from-library-in-as-class/310915>\
**Category:** flash\
**Created:** [June 22, 2010, 8:15pm UTC](https://forum.kirupa.com/t/getting-movie-clip-from-library-in-as-class/310915 "2010-06-22T20:15:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blakem](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@blakem](https://forum.kirupa.com/u/blakem)\
**Post date:** [June 22, 2010, 8:15pm UTC](https://forum.kirupa.com/t/getting-movie-clip-from-library-in-as-class/310915/1 "2010-06-22T20:15:45Z")

</div>

I am working on a flash game that I am building in Flash Builder 4. I have a library of movieclips in the FLA file and need to create instances of these movieclips within objects of a custom class. I am unsure how to refer to the library of the flash file while in a class file.  
I also would like to call these movieclips dynamically based on the combination of two strings. I know it is possible to create variables dynamically with this[variableName]. Can I refer to library objects from the flash doc in the same way?

I appreciate the help!  
-Blake
