movie clip x and y position relative to mouse [link included]
hi..
i want to create a shooting gallery type game but instead of having the "reticle" for my gun lock to the cursor position i would like to have it relative to a box at the bottom of my movie.
here is an example of how it would look :
http://www.battlelounge.com/reticle.htm
right now when you click on the flash piece you can control the reticle with the arrow keys (something i want)
can someone point me in the right direction as to how i would make the reticle relative to mouse position within that box at the bottom (the little red dot would lock the cursor within that clip)
ive done a board search and worked a few tutorials and most of em deal with replacing the cursor, telling a MC to lock to the mouse cursor and locating the mouse position.
Anyone know of a tut or thread with something similar to what im describing? Later ill try and add some inertia and perhaps a gun that follows the reticleMC angle.
thanks for reading all that ;)