11 Replies Latest reply on Jan 12, 2016 10:38 AM by resdesign

    Play all stage labels dynamically without knowing name or time

    JerryJackson

      Hello,

       

      I'm working on creating a "coverall" code snippet that can dynamically pull label names and locations from the default stage timeline to use in a Back/Forward button pair.  I can see this information in the _edge javascript file, but my coding skill is not sufficient to pull this information into a usable array.

       

      I am comfortable using getPosition and getLabelPosition.

       

      I have found snippets that used to work but work no longer, such as:

       

      var stage = sym.getComposition().getStage();

      var labels = stage.timelines['Default Timeline'].labels;

       

      I then used jquery's $.each command to look through, but I was unable to make it work.

       

      Thanks in advance for any help you can provide!