Search Tutorials
As you may note from the previous example there are some predefined styles that can be used to format the help text, so that it will look like the rest of the help within Flash MX. These styles are titleStyle, subTitle and codeStyle. The final rendering of the reference help supports a subset of HTML that allows us to get the job done nicely. It does preserve white space so you can get indentations within source code examples to format correctly. The following are the tags and escape sequences that we know currently work:
To link to other help topics or to external content within your reference help use the <a> or <link> tags with the href attribute. For example, let's say you want to add a “See also” section with links to other complementary methods within your reference help (see the FSimpleClass example above). This is done by adding the <a> or <link> with an href attribute that contains a protocol value of “reference” followed by the “URI” to the help topic, e.g. : <a href=”reference:Simple/Methods/displayMessage”>displayMessage</a> To make a link to external content use the appropriate protocol and URI like: <a href=”http://www.cybersage.com”>CyberSage</a> OR <link href=”file://c:/myhelp.htm”>Related Topics</link> and this will launch the default browser and point it to the link specified.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|