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 | setTimeout(function(){ | |
11 | //do something after 5000ms | |
12 | },5000); | |
13 | } | |
14 | }; | |
15 | </script> |