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

Play all stage labels dynamically without knowing name or time

$
0
0

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!


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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