| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Member | 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. 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 |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |