# Duplicating and manipulating Loaded SWF

**URL:** https://forum.kirupa.com/t/duplicating-and-manipulating-loaded-swf/316123
**Category:** flash
**Created:** [November 13, 2010, 2:57am UTC](https://forum.kirupa.com/t/duplicating-and-manipulating-loaded-swf/316123 "2010-11-13T02:57:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![suffolkmagic](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@suffolkmagic](https://forum.kirupa.com/u/suffolkmagic)
#### Post date: [November 13, 2010, 2:57am UTC](https://forum.kirupa.com/t/duplicating-and-manipulating-loaded-swf/316123/1 "2010-11-13T02:57:46Z")

</div>

I am trying to make a card game.

The main fla file loads an external swf file that is a movie clip that has the card art images (one card art on each frame)

This works good and I can view the loaded swf on the stage.

public function FinishedLoading(loadEvent:Event):void {  
LoadedMovie = MovieClip(loadEvent.currentTarget.content);  
addChild(LoadedMovie);  
}

What I want to do in another function is to duplicate the load swf, so that I can have 52 of the same object, each with a different picture. I need to know how to create an instance of the loaded swf.

I would like to control each instance of the loaded swf by telling each one independently of each other to go to and stop at a specific frame such as 3 or 17, or 43, based on what card is needed at that time.

This code creates an error:

var NewCard:MovieClip = new LoadedMovie();

And i could not go any farther. Thanks in advance!
