|
|
Search Tutorials
How to have tooltips:#include "toolTip.as"This external actionscript is loaded soon as you publish and contains the functions neccesary to show the tooltips. now on every button you have, use this code:
on(rollOver){
_root.toolTip("Your tooltip here",5)
}
on(rollOut,press){
_root.toolTipEx();
}
or, with a variable that is loaded from an external source:
on(rollOver){
_root.toolTip(your_variable,5)
}
on(rollOut,press){
_root.toolTipEx();
}
the first parameter of the toolTip-function is your tooltip text, the second the duration of display in seconds.
the function of the Tooltip itself as it appears in the external script is explained with some comments below, but all you really have to know is how to assign this functions to your buttons.
I included a test file to show you how this looks on Buttons named
test_tooltip.fla.... have fun with the overleaf sniplet,
daarboven
|
||||||||||||||||||||||||||||||||||||||||||||||||
| «prev 1 2 3 next» |
| » Level Intermediate |
|
Added: : 2005-05-06 Rating: 5.33 Votes: 6 Hits: 640 |
| » Author |
| Flash Designer and Developer |
| » Download |
| Download the files used in this tutorial. |
| Download (21 kb) |
| Get conversion and unzipping tools for PC and Mac here! |
| » Forums | |
|
|
|
| Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review. | ||||||||||||||||||||
|
||||||||||||||||||||

|