Repeat Things at Specific Intervals

  • Konuyu başlatan Konuyu başlatan guclusat
  • Başlangıç Tarihi Başlangıç Tarihi

guclusat

Tanınmış Üye
Süper Moderatör
Repeat Things at Specific Intervals
When there is an action that should repeat at a predetermined interval, use an On Timer event in AutoPlay Media Studio:

  1. Double-click on the current page.

  2. Choose the Script tab.

  3. Click on the On Timer event tab.

  4. Add your action here.
To begin performing the actions in the On Timer event, use the following action:

Kod:
Page.StartTimer(5000) --fires On Timer actions once every 5 seconds

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.

Note: 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.

Tip: To stop the timer action from firing, use the action Page.StopTimer();
 
Geri
Yukarı