Shooter Game Problems

[FONT=Century Gothic][SIZE=1][COLOR=royalblue]Ok it’s pretty simple actualy… I’m not so good at flash and have started making a shooter game and it has messed up, Thus here I am asking you all for some help.[/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]Okay heres what I did:[/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]I drew a triangle on stage, made it a movie clip (I called the movie clip sheelah) and gave it the instance name “triangle” (no quotes)[/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]I wanted this triangle to follow the mouse cursor along the X axis but not the Y axis[/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]So I applyed the following code to the triangle:[/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]
[/COLOR][/SIZE][/FONT]

 
onClipEvent (enterFrame) {
 function  () {
  _root.triangle._x = _xmouse;
}
}

[FONT=Century Gothic][SIZE=1][COLOR=royalblue]Obviously somthing messed up coz it didn’t work thats why I’m asking you people what I’ve done wrong[/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]Help Please, Cheers :beer: [/COLOR][/SIZE][/FONT]