Tootltip
The tooltip attributes allows you to customize the tooltip behavior.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
| tooltip | STRING | Specifies the tooltip mode for the element. It can be either empty, no or label |
Modes
| Value | Description |
|---|---|
| (empty) | The default text (or the custom one if defined) is displayed as a tooltip |
| no | No tooltip is displayed at all |
| label | The text is displayed in a text field named "label" in the flash graphic resource |
| left | The text is displayed on the left side of the button graphic resource (useful for designing menus) |
| right | The text is displayed on the right side of the button graphic resource (useful for designing menus) |
| top | The text is displayed above the button graphic resource (useful for designing menus) |
| bottom | The text is displayed below the button graphic resource (useful for designing menus) |
Defining a custom tooltip text
To define a tooltip text for an element, simply put it in a CDATA section, between the opening and closing statements.
This allows you to easily translate the viewer tooltips into your own language, if it is not already available on Calaméo.
Example
<button action="search" upState="myotherskin#btnSearchOn">
<![CDATA[Look for something? Click here]]>
</button>
info
You should consider using the UTF-8 character set.
Scope
These attributes apply to the following statement: