Repeat Things at Specific Intervals
Document ID: IR10020The information in this article applies to:
- AutoPlay Media Studio 5.0 Professional Edition
SUMMARY
This article describes how to make your application respond to key presses.
DISCUSSION
When there is an action that should repeat at a predetermined interval, use an On Timer event in AutoPlay Media Studio 5.0:
- Right-click on the current page.
- Choose Actions.
- Click on the On Timer event tab.
- Add your action here.
- To begin performing the actions in the On Timer event, use the following action:
--fire the On Timer actions once every 5 seconds
Page.StartTimer(5000) - 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();
MORE INFORMATION
For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:
- Program Reference | Actions | Page | Page.StartTimer
- Program Reference | Actions | Page | Page.StopTimer
KEYWORDS: AutoPlay Media Studio 5.0, Actions, Timer, Events
Last reviewed: September 26, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.