Home

Downloads

FAQs

Sample Book

Features

Forum

 

Tooltips

Tooltips can be defined for anything which can be given an instance name. The navigation buttons and zoom controls all have tooltips defined for them.

Upto V1.39, the tooltip definitions can go anywhere between the <content> and </content> tags in the pages.xml file and are shown below. From V1.41 onwards the tool tips are listed in a separate file xml/Tooltips.xml.

Note that target is the instance name of the object. The text you want displayed should be inserted in the character data elements. E.g. CDATA[Previous Page]

The default tooltips are shown below - if you do not want any just remove them from the Tooltips.xml file.

<tooltip target="prevBtn" >
<tip><![CDATA[Previous Page]]></tip>
</tooltip>

<tooltip target="nextBtn" >
<tip><![CDATA[Next Page]]></tip>
</tooltip>

<tooltip target="lastBtn" >
<tip><![CDATA[Last Page]]></tip>
</tooltip>

<tooltip target="firstBtn" >
<tip><![CDATA[First Page]]></tip>
</tooltip>

<tooltip target="ContentsBtn" >
<tip><![CDATA[Contents Page]]></tip>
</tooltip>

<tooltip target="SearchBtn" >
<tip><![CDATA[Search text]]></tip>
</tooltip>

<tooltip target="gotoBtn" >
<tip><![CDATA[Goto Page]]></tip>
</tooltip>

<tooltip target="flipSoundBtn" >
<tip><![CDATA[Page turn Sounds on/off]]></tip>
</tooltip>

<tooltip target="Control" >
<tip><![CDATA[Page zoom]]></tip>
</tooltip>

The last entry works for both vertical and horizontal zoom controls because only one is present and they both have a movieclip instance called Control.