On my main time on a control layer I have the following code:

Code:
numEnemy=6;
for (i=2; i<=numEnemy; i++){
enemy.duplicateMovieClip( "enemy"+i, i+1000 );
 
}
score=0;
Then in my enemy movie clip I have this:

Code:
if(enfire%10==3)
{
	_root.enemyfire._x=_root.enemy+i._x;
_root.enemyfire._y=_root.enemy+i._y
_root.enemyfire.duplicateMovieClip( "enemyfire"+enfire, enfire+1000 );
_root["enemyfire"+enfire]._visible=true;
playsound = new Sound(this);
playsound.attachSound("laser");
playsound.start(0, 1);
}
enfire++;
Enfire is set to 0 at the top of the onevent handler.

In the enemyfire movie clip I have this:
Code:
 
 
onClipEvent (load) {
 
firemovespeed=30;
this._x=_root.enemy._x+20; 
this._y=_root.enemy._y;
 
}
 
onClipEvent (enterFrame) {
if (this._name<>"enemyfire"){
this._x-=firemovespeed;
if (this._x<0){
this.removeMovieClip();
}
}
}
However Only one of the enemyships shoot, the duplicates of the enemy ships do not shoot. How do I solve this problem? I've tried putting the code inside the control loop and re-duping the enemyfire clip, but I can't get the duplicate enemy ships to fire.