| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Jan 2005 Location: United Kingdom
Posts: 75
![]() | actionscript delay help needed Hi all, I have a thumbnail gallery viewer, instead of just stopping on each thumbnail I want the play head to got back to frame 1 after a delay so the movie starts over when an image is left on for certain lenghth of time. ????: NamePros.com http://www.namepros.com/programming/213505-actionscript-delay-help-needed.html I have this script which seems to work except when other thumbnails are clicked the delay seems to be shortened even though the delay time for each thumbnail is the same, I think it is because flash doesnt discard the countdown from the previouse clicked thumbs so the delay gets shorter after each click!!!! i think lol...im no expert. stop(); var id = setInterval(go, 12000); function go() { clearInterval(id); gotoAndStop(1); } can I alter the script to solve the proble? thanks....jon |
| |