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

Loading An Edge composition at a certain frame

$
0
0

What I would like to do is to load  my Edge composition at a certain frame.

 

I would like to tell the Edge composition where to stop at, within my html file.

This because I need to load the comp at a different position in the timeline, depending on the html page where I need to place it.

 

I was able to start playing the comp

 

<script type="application/javascript">

  var comp;

  AdobeEdge.bootstrapCallback(function(compId) {

  // "comp" is now equivalent to the Stage's "sym" variable.

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

  comp.play();

  });

</script>

 

but I would actually want to tell the comp to play at a label.. something like

 

comp.play("label");

 

but thats not working...

 

I am not very familiar with js since I come from After Effects, so it would be nice if someone could provide an example or point another discussion where this problem was solved.

 

Thanks


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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