From September, Flash will no longer be supported by Chrome. Prepare for the shift towards HTML5 by visiting our Flash to HTML5 help page

Check it out!

AdQuestions

Sync Banner with no loop

it seems that this code setInterval(function(){ if (animationStartTime == undefined) return; var timePassed = new Date().getTime() - animationStartTime; var calculatedFrame = Math.ceil((stage.frameRate * timePassed / 1000) % animation.totalFrames); if (animation.currentFrame != calculatedFrame) { animation.gotoAndPlay(calculatedFrame); } }, 1000); autmatically loops synced banners. if i remove it, it's automatic rewritten when export / preview. how do i prevent the sync banner from looping? stop(); does not seem to help. Thanks!
Comments (1)
comments powered by Disqus