# Loading movieclips from library

**URL:** <https://forum.kirupa.com/t/loading-movieclips-from-library/299704>\
**Category:** Uncategorized\
**Created:** [November 9, 2009, 9:02pm UTC](https://forum.kirupa.com/t/loading-movieclips-from-library/299704 "2009-11-09T21:02:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrkhoros](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mrkhoros](https://forum.kirupa.com/u/mrkhoros)\
**Post date:** [November 9, 2009, 9:02pm UTC](https://forum.kirupa.com/t/loading-movieclips-from-library/299704/1 "2009-11-09T21:02:10Z")

</div>

hi.

i used this code with linkage to load a movieclip from library using flash action script 3

btn.addEventListener(MouseEvent.MOUSE\_UP,goLayersSite);

function goLayersSite(Event)  
{

var myMovieClip:MovieClip = new Tree();  
empty.addChild(myMovieClip);  
}

i want to know how am i able to load a flash movie clip from my current library into my stage with using a button via flash action script 2.

since im using other codes in action script 2 i can not cancel them and i really need to load a movie clip in my AS2 FLA.

please help me.

thanks:trout:
