This content has been marked as final. Show 7 replies
you can use a button, but you can't control the appearence of the button on rollOut. you can control the appearence if you use a movieclip button.
with both you may want to trigger (on rollOut) a loop that checks the mouse position or executes a hitTest. if it stays in the required region or continues to hit your dropdown do whatever and if not, do something else.
mmm DIESEL website, nice hey! I know them for a while. In fact i work in front of their office in Montreal. Ok back to the subject, as Kglad suggest, i think its better to use a loop that do a hitTest. That way you will avoid a lot of problem that onRollOver/onRollOut (on movieclip) will give.
Ok guys, thanks for the responses, i've never used hitTest before so it would be most helpful if you could suggest some script. i'm not sure how to specify the region that the mouse needs to be hovering over for the text box to stay open.
Is it best to add the script on a layer within the movie clip button or by scripting the actual button itself?
if the region of your "...expanded text box..." is between xMin, xMax and yMin and yMax you could use:
Thanks for the script, I have only just checked back to see that reply you gave me in August. I did get a certain way without using Hittest. Check out my post from yesterday RE: Rollout Button Problems. If you are willing to help i'll send you the flash file i have which has the basic working button, and my intended designed one.
i'll respond to your recent thread if noone else has started to help.
i think i've figured out why its doing what its doing. In my movie clip I have input text, so when the cursor hovers over that it is thinking that the cursor has left the hit area of the button. How can I tell it that the input text that is within the hit area of the button should be ignored when it comes to deciding whether the cursor has rolloed out from it.
hope that makes sense.