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 <%lt%>a<%gt%> or <%lt%>link<%gt%> 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 <%lt%>a<%gt%> or <%lt%>link<%gt%> with an href attribute that contains a protocol value of reference followed by the URI to the help topic, e.g. :
<%lt%>a href=reference:Simple/Methods/displayMessage<%gt%>displayMessage<%lt%>/a<%gt%>
To make a link to external content use the appropriate protocol and URI like:
<%lt%>a href=http://www.cybersage.com<%gt%>CyberSage<%lt%>/a<%gt%> OR
<%lt%>link href=file://c:/myhelp.htm<%gt%>Related Topics<%lt%>/link<%gt%>
and this will launch the default browser and point it to the link specified.
| » Level Advanced |
|
Added: 2002-09-20 Rating: 8 Votes: 14 |
| » Author |
| Paul Gubbay, CEO Jason Williams, CTO CyberSage Software specializes in building highly innovative XML, Flash and JAVA-based software products for developers and graphic artists. CyberSage technology is designed to solve real world problems with an emphasis on innovative XML solutions. Current offerings include Firefly for Flash and FlashDoc. |
| » Download |
| Download the files used in this tutorial. |
| Download (227 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!