SHOW:
|
|
- or go back to the newest paste.
| 1 | *******I need to set a timeout of 5000 ms after the first loop ************ | |
| 2 | ||
| 3 | <script type="text/javascript" gwd-events="handlers"> | |
| 4 | var counter = 0; | |
| 5 | gwd.auto_Page1Event_1 = function(event) {
| |
| 6 | // GWD Predefined Function | |
| 7 | if (counter < 1) {
| |
| 8 | gwd.actions.timeline.gotoAndPlay('page1', 'start');
| |
| 9 | counter++; | |
| 10 | setInterval(function {
| |
| 11 | - | },500); |
| 11 | + | },5000); |
| 12 | } | |
| 13 | }; | |
| 14 | </script> |