Desmond
10-03-2003, 12:35 PM
<HTML> <HEAD> <TITLE>AutoPlay Media Studio 5.0 Knowledge Base</TITLE> </HEAD> <BODY> <h3>Creating a Table of Contents</h3> <b>Document ID: IR10077</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Standard Edition</li> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to create a table of contents in your application.</p> <h3>DISCUSSION</h3> <p>One way of navigating through a multi-page application is by utilizing a Table Of Contents page. In AutoPlay Media Studio 5.0 this is accomplished by creating a page at the beginning of your project with one navigational object (e.g. a button object) for each page you want to link to.<br> <br> As an example, we will create a project with three pages (one page for the Table Of Contents, and two content pages) where Page1 is the Table of Contents, and Page2 and Page3 are the content pages.</p> <ol> <li>On the first page, create two buttons.<br> <br> </li> <li>Add the following action to the On Click event of "Button1" (Button1 will link to the first content page):<br> <code> Page.Jump("Page2");<br></code> <br> </li> <li>Add the following action to the On Click event of "Button2" (Button2 will link to the second content page):<br> <code>Page.Jump("Page3");<br></code> <br> </li> <li>You may want to create a back button on each of your content pages to return to the Table Of Contents. This is accomplished by adding the following action to a button object's On Click event:<br> <code>Page.Jump("Page1");<br></code> </li> </ol> <h3>MORE INFORMATION</h3> <p>For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:</p> <ul> <li><b>Program Reference | Actions | Page | Page.Jump</b></li> </ul> <p>KEYWORDS: AutoPlay Media Studio 5.0, Page, Jump, Navigate, TOC, Table Of Contents </p> <hr> <FONT SIZE=1> Last reviewed: October 3, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>