Flash _xmouse ?
Out of context: Reply #14
- Started
- Last post
- 23 Responses
- CX0
I need some help. I would like to move the map to make the exact point I click move to the center of the movie. I'm now using a small dragMC that disables wherever I click on the map to get the coordinates.
I've been trying everything. Currently what I'm doing is the exact opposite. Wherever I click the center of the mapMC goes to that point.
Here is the code as I currently have it in a control MC:
Xdif = _root.trueDif;
_root.map._x = 283.85+Xdif;trueDif is the difference between _x of the mapMC (which is in the center of it and equals 283.85) and the _x value of where I clicked. I know why it's doing what it's doing now but I can't seems to get it to do what I need it to do. I'm not even sure if it's possible to make any coord in an MC to go to the center of the movie. Please help.