:: HELP ::
- Started
- Last post
- 6 Responses
- unknown
I am in a rut here.
I need to figure out a script that detects the cords. of your mouse.
If your mouse is within these cords, it does nothing, but when it leaves these cords, it unloads a movie.
I am using this for a subnav. Anyone, if you can help, please do.
Thanks.
FRESH!
- unknown0
sorry... just so you know, I am working in flash mx right now. So I need an actionscript. Any advise or tutorials would be great!!!!
YIATCH!
- vespa0
Make a really big invisible button the size of your co-ords. When you rollout of this button, unload the movie.
- unknown0
thanks vespa. that is a simple solution. Although. I would like to use a script that can handle this.
I will keep looking
FRESH!
- arlo0
Use a combination of
on(MouseMove) and _xmouse / _ymouse coordinates.
- Chip_Duggit0
If the nav is on some sort of a background, you can use the hit test function to use as a trigger to have something play. Hit Test only sees if you are on an object, it doesn't use the button functions, so you don't see the little hand. its really nice to use for this application, otherwise you have to figure out your max and min x & y coordinates, and then to a translate to see if the mouse is in that range, then do the movie clip function.
more than likely you can use the Hit Test and get away with that. Let me know how this works for you.
chip
- unknown0
anyone else have any ideas?
Thanks in advance!