# \[How-to\] Replace a MovieClip?

**URL:** <https://forum.kirupa.com/t/how-to-replace-a-movieclip/229096>\
**Category:** Uncategorized\
**Created:** [June 14, 2007, 4:22am UTC](https://forum.kirupa.com/t/how-to-replace-a-movieclip/229096 "2007-06-14T04:22:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![manfree](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@manfree](https://forum.kirupa.com/u/manfree)\
**Post date:** [June 14, 2007, 4:22am UTC](https://forum.kirupa.com/t/how-to-replace-a-movieclip/229096/1 "2007-06-14T04:22:27Z")

</div>

hi all

In AS3… seems there is no longer use createEmptyMovieClip and attachMovie…

I would like to ask …  
How can I replace/attach a new MovieClip in AS3 ??

For example:  
there is a movieClip \>\>\> “card1”  
when I click it,  
the movieClip will be replaced by \>\>\> “card2”  
thanks for helping
