I have a menu which drops down.
When the mouse is away from any of the resultant dropdown, the dropdown should dissapear.
I’m scratching my head thinking of the best way to do this.
This is what I thought:
Imagine the drop down has components a, b and c.
Run a hitTest command onEnterFrame for each object.
If the mouse isn’t over object a, then a notOnA variable gets set to true.
If notOnA, notOnB and notOnC are all true, then the dropdown is made invisible.
The only part I’m not sure about is how to do the onEnterFrame.
It seems as though you HAVE to do this on a movie and can’t have it be on a frame itself.
(I suppose by the definition of the function, this is correct… but surely there’s a way to put a onEntreFrame (or some variation) command on a frame??
Erm… does any of the above make sense!!?
Is there a better way…?
Thanks.
OM