Hi, this is probably an easy one ... can someone please tell me the coding to get rollover text? Specifically, I want it so that when a user moves their mouse over a button, some text comes up in a small box, much like it does when you roll the mouse over Windows Start button and you get "Click here to begin". Im sure it includes onMouseEnter/Exit, but Im not sure about the exact coding in the middle...
Thanks for any help,
Adrian.
Rollover text
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi ac11ca,
you are right this works with "mouseenter" etc...
You need a button and a field for the info text.
Put this into the script of the "rollover" button:
That's it, you get the picture 
Regards
Klaus
you are right this works with "mouseenter" etc...
You need a button and a field for the info text.
Put this into the script of the "rollover" button:
Code: Select all
on mouseenter
## Show into text...
put "This is a button!" into fld "You info field here"
end mouseenter
on mouseleave
## Hide info text again...
put empty into fld "You info field here"
end mouseleave

Regards
Klaus
-
- Posts: 52
- Joined: Sun Jan 20, 2008 7:06 am
Try the tooltip...
You can also use the "tooltip" command...
That code would be in the button....
Code: Select all
on mouseEnter
set the toolTip of me to "Some Text"
end mouseEnter