Desmond
09-22-2003, 03:14 PM
<HTML><HEAD><TITLE>Using Timer Events</TITLE></HEAD><BODY><h3>Using Timer Events</h3><b>Document ID: IR10002</b><hr>The information in this article applies to:<ul><li>AutoPlay Media Studio 5.0 Professional Edition</li></ul><hr><h3>SUMMARY</h3><p>This article describes how to use the On Timer event.</p><h3>DISCUSSION</h3><p>When there is an action that should repeat at a predetermined interval, use an On Timer event in AutoPlay Media Studio 5.0:</p><ol> <li>Right-click on the page surface.</li> <li>Choose Actions.</li> <li>Click on the On Timer event tab.</li> <li>Add your action here.</li></ol><p>To begin performing the actions in the On Timer event, use the following action:</p><pre><code>Page.StartTimer(5000) --fires On Timer actions once every 5 seconds</code></pre><p>This action is typically performed either by the On Click event of an object, or as an action on the On Show event of the page. The action Page.StartTimer only has to be performed once to start the timer. The actions in the On Timer event will continue to be performed until the StopTimer action is called. To stop the timer action from firing, use the action Page.StopTimer().</p><h3>MORE INFORMATION</h3><p>For more information please see the following topics in the AutoPlay MediaStudio 5.0 help file:</p><ul> <li><b>Program Reference | Actions | Page | Page.StartTimer</b></li> <li><b>Program Reference | Actions | Page | Page.StopTimer</b></li></ul><p>KEYWORDS: AutoPlay Media Studio 5.0, Actions, Timer, Repeat, Repetition, Count</p><hr><FONT SIZE=1>Last reviewed: September 22, 2003<br>Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br></FONT></BODY></HTML>