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?