[How-to] Replace a MovieClip?

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