addChild and globaltoLocal

[COLOR=#333333][FONT=adobe-clean]I have an enemy that adds an attack movie clip. More specifically, this attack movie (We’ll call it masterAttack) clip is a blank movie clip that acts like a super class, that will hold other attacks like a weak and strong attack. So when my enemy attacks using a timer, it adds the masterAttack on a global to local point. [/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean] [/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]Below is the Enemy timer attacking a tile the player is on:[/FONT][/COLOR]

[COLOR=#333333][FONT=adobe-clean]if (Main.tileset[k].tileMiddle.hitTestObject(Main.player.visionPoint))[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]{[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]         this.addChild(masterAttack);[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]         var pt:Point = this.masterAttack.globalToLocal(new Point(Main.tileset[k].x, Main.tileset[k].y));[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]         masterAttack.masterEnemyAttackTimer.start();[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean] [/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]         this.masterAttack.x = (pt.x);[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]         this.masterAttack.y = (pt.y);[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]}[/FONT][/COLOR]

[COLOR=#333333][FONT=adobe-clean] [/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]And Below is the masterAttack timer:[/FONT][/COLOR]

[COLOR=#333333][FONT=adobe-clean]function mastertimer(event:TimerEvent) {[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                              addChild(sludgeball); //This is one of the many attacks pickable by the masterAttack[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                              sludgeball.enemyattackTimer.start();[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                              if (this.sludgeball.currentLabel == "End") {[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                                        this.sludgeball.gotoAndPlay(1);[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                                        masterEnemyAttackTimer.stop();[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean] [/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                              if (masterEnemyAttackTimer.running == false)[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                              {[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                                        attackStop = true;[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                                        this.parent.removeChild(this);[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                                        removeChild(sludgeball);[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                              }[/FONT][/COLOR]
[COLOR=#333333][FONT=adobe-clean]                    }

[COLOR=#000000][FONT=Arial]My problem is, on the first run, the masterAttack will attack the player wherever it is, then remove itself, which is good. Then the next time it runs, the masterAttack is not hitting the player. It’s as if the globaltoLocal isn’t working after the first run.[/FONT][/COLOR][/FONT][/COLOR]