Customizable Tooltip Class scripted in AS3 .
Features:
- Highly customizable
- Never leaves screen (possible to assign x and y distance from screen)
- Supports HTML & CSS
- Font (Support of embedded fonts)
- Text size
- Bold & Italic text
- Text color
- Text padding (x & y) (Enlarges Tooltip’s rectangle)
- Maximum width (enables Word Wrap)
- Tooltip color
- Tooltip alpha
- Corner radius
- Appear time
- Fade time
- Show arrow
- Distance between Mouse/Target and Tooltip
- Direction
- Cursor follow (Boolean: true or false)
- Shadow filter
How to Use:
- Import Tooltip.
e.g.
import com.ui.Tooltip; - Create Tooltip using new operator.
new Tooltip();<- for default properties.
new Tooltip( {text: "Hello!"} );<- creates Tooltip with text “Hello!”, rest properties will be default. - You can change Tooltip using
.change()function without creating new Tooltip.
If you have any suggestions for improving Tooltip Class, PM me.

