Macromedia Flash Mx Shooter Tutorial Part 1: Cursor and Bulletholes

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,050
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 22, 2010

!!Scripts!!
Crosshair:
onClipEvent (load) {
startDrag("_root.crosshair", true);
Mouse.hide();
}
onClipEvent (mouseDown) {
_root.crosshair.gotoAndPlay(2);
}

Bullethole:
onClipEvent (mouseDown) {
i++;
duplicateMovieClip(this, "bulletnew"+i, i);
_root.crosshair.gotoAndPlay(2);
}
onClipEvent (load) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (JGtutorials)

  • What's going on?! It won't let me have accurate shoots. It always appears next to my crosshair. :l

  • @crazycoocooboy200 Make sure you made your crosshair in the center.

  • im working with flash 8 but when i finished it just like you press then the other bulletholes dont stay just :(.PPPPPPPPPLLLLLLLSSSSSSSS replay

  • @chocolatefrogs100 Are you sure you have the WHOLE script copied and in the right place? Most people who have this problem don't copy the script correctly.

  • good job, and thumbs up if u noticed pants on the ground at 2:35

  • @SpriteFlashMaster That was for a remix I failed on... lol that someone noticed :D

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • Crossfair doesn't work!

    Try this code :

    onClipEvent(enterFrame){

    Mouse.hide();

    this._x=_root._xmouse;

    this._y=_root._ymouse;

    }

  • `Maze game tut pls

  • my crosshair does not respond to anything

  • aww man... -.-

    use v(cursor) ctrl+o (open) shift(for good cirles) and ctrl+c,ctrl+v(copy,paste)

  • Does it work for Macromedia Flash pro 8?pls replay :) :D

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more