Displaying X and Y position of mouse in Flash
Short tutorial that shows you how to display the x and y coordinates of the users mouse as it moves around the Flash stage.
Editor’s review:
Nice, easy to follow tutorial that shows how to display the mouses x and y position of the mouse as the user moves the pointer around the Flash stage. Provides 2 variations of simple ActionScript code to accomplish the same task.
Author’s Quote:
This Flash tutorial will teach you how to display the x and y position of the mouse, so when you move your mouse on the stage it keeps track of the position and updates as you move. This tutorial uses the _xmouse and _ymouse properties to return the x and y coordinates of the mouse position.
This tutorial also gives a brief intro to the use of dynamic text in Flash, which is needed in order for the actual coordinates to display as the mouse moves around on the stage. A great tutorial for newbies to Flash and ActionScript 2.0.
View Tutorial: Displaying Position of Mouse in Flash
Additional Info
Version: All
ActionScript: 2.0
Online example: Yes
Source files available: No
Video Tutorial: No
About this entry
Title: Displaying X and Y position of mouse in Flash
- Added by:
- Mike
- Published:
- 01.03.09
- Category:
- ActionScript 2.0, Flash Tutorial, Level: Basic
No comments
Jump to comment form | comments rss [?] | trackback uri [?]