Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Loop timeline for X seconds then stop at....

$
0
0

Hi

I´m producing banners (normaly in GWD). Most sites doesn´t accept banners that loop for ever, they want the loop to stop for ex after 30 seconds. How can I accomplish this i Edge Animate?

 

In Google web designer i normally set two labeles called start & stop, the i tell the script to loop for X seconds from the lable start, then stop at the lable stop, where I normally place some kind of fallback.

 

Can somebody please help me.

The script in GWD looks like:

gwd.auto_Page1Event_1 = function(event) {

      // GWD Predefined Function

      gwd.actions.timeline.gotoAndPlay('page1', 'Start');

    };

//Custom part for the stop

    gwd.auto_Page1Pageload = function(event) {

      setTimeout(function() {

        gwd.actions.timeline.gotoAndPause('page1', 'Stop');

      }, 23000);

    };


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>