# Duplicate an externally loaded MC

**URL:** <https://forum.kirupa.com/t/duplicate-an-externally-loaded-mc/205626>\
**Category:** Uncategorized\
**Created:** [October 31, 2006, 11:05am UTC](https://forum.kirupa.com/t/duplicate-an-externally-loaded-mc/205626 "2006-10-31T11:05:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VoS](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VoS](https://forum.kirupa.com/u/VoS)\
**Post date:** [October 31, 2006, 11:05am UTC](https://forum.kirupa.com/t/duplicate-an-externally-loaded-mc/205626/1 "2006-10-31T11:05:29Z")

</div>

hello  
im trying to duplicate a mc which has had an .swf loaded into it but that dosent seem to work.

a bullet image is loaded into a mc called bullet

and then when a key is pressed ‘fire’ is true.  
my problem is that if comment out the loadMovie part it duplicates just fine  
but it wont work when it is loading in the external movie

Anyone got a solution?

```
 ActionScript Code:
 [FONT=Courier New][LEFT][COLOR=#0000ff]...

```

bullet[/COLOR].[COLOR=#0000ff]loadMovie[/COLOR]COLOR=#000000[/COLOR];  
…  
[COLOR=#0000ff]if[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]  
fire = [COLOR=#000000] **false** [/COLOR];

currBull = currBull+[COLOR=#000080]1[/COLOR];  
[COLOR=#0000ff]bullet[/COLOR].[COLOR=#0000ff]duplicateMovieClip[/COLOR][COLOR=#000000]([/COLOR][COLOR=#ff0000]“bullet”[/COLOR]+currBull, [COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]getNextHighestDepth[/COLOR]COLOR=#000000[/COLOR], [COLOR=#000000]{[/COLOR][COLOR=#0000ff]\_x[/COLOR]:[COLOR=#000080]370[/COLOR], [COLOR=#0000ff]\_y[/COLOR]:[COLOR=#000080]250[/COLOR][COLOR=#000000]}[/COLOR][COLOR=#000000])[/COLOR];  
ss.[COLOR=#000080]angle[/COLOR] = ship.[COLOR=#0000ff]\_rotation[/COLOR];  
ss.[COLOR=#000080]shootme[/COLOR] = [COLOR=#000000] **true** [/COLOR];  
[COLOR=#0000ff]trace[/COLOR]COLOR=#000000[/COLOR];  
[COLOR=#000000]}[/COLOR]  
[/LEFT]  
[/FONT]

Thanks

//VoS

any help please?
