1 Reply Latest reply on Oct 30, 2008 7:36 AM by kglad

    First Person Shooter problems

      Ok, I have made a FPS and have followed a tutorial on how to attach objects to the stage where the mouse resides (my bulletholes) the only problem is, I need my bulletholes to show up UNDER the crosshair. I have tried adding code that tells the cursor to get next highest depth after the bullethole is added. but this does not work. code is below. anyone have any ideas?

      Mouse.hide ();
      startDrag (cursor_mc, true);
      var i:Number=0

      this.createEmptyMovieClip("canvas_mc", 50);
      var myListener:Object = new Object();

      myListener.onMouseDown = function(){
      var t:MovieClip = canvas_mc.attachMovie("bhole","bhole"+i,canvas_mc.getDepth(0));