2 Replies Latest reply on Mar 17, 2016 9:07 AM by resdesign

    can we call a timeline position using a URL


      Can we call a timeline position using a URL like we can call anchor text in html.

      Eg: : mysite.com/#label5


      Let say I have long animation on my timeline. I have 5 labels from beginning of the animation to end ( eg: "start", "one", "two" ,"three", "four", "end")

      I want a url which can plays from label "three"

      maybe another URL which can play from label "two"

      Eg: : mysite.com/#three 



      Any other alternatives to implement this?

        • 1. Re: can we call a timeline position using a URL
          oneuppedgames Level 1

          Hi! I'm not sure if this is possible. I don't think the AE labels are reachable through URL's in the way that DIV ID's are (like mysite.com/#three refers to a DIV with id: 'three'). As far as I know the AE labels are mere 'names' for certain time-stamps, which can be used through Javascript.


          My guess would be to write a piece of JavaScript (in AE) that can read the full mysite.com/#three URL and parse the values from this readout into a proper time-line call. For instance:


          The url would be: mysite.com/?timestamp=3000, the JS would read the URL in the CreationComplete phase and passes the 3000 value to a standard AE timeline call: sym.play(3000);


          Good luck!

          • 2. Re: can we call a timeline position using a URL
            resdesign Adobe Community Professional & MVP

            Yes you can. Example to add to the html: (remember to add your buttons to the html file.


            <script type="text/javascript" charset="utf-8">


            AdobeEdge.bootstrapCallback(function(compId) {

                comp = AdobeEdge.getComposition(compId).getStage();


            // now you can play a label

            function myStop(){

                comp.stop('label');   // main timeline label  or

                comp.getsymbol('symbolName').play('label');  // play a smybol label


            function myPlay(){