I have an Adobe Edge animation that is playing automatically by default.
Is there a way to disable or prevent the auto play by javascript code?
For example by passing some option when loading the composition with AdobeEdge.loadComposition()
or by setting some event listener that will do this?
P.S. I do not have the ability to edit the animation itself in Adobe Edge
I have solved this by adding a
compositionReady
listener. This event is taking place before the auto play, so I can influence the auto play settings of the animation.I've put the code below right after calling
AdobeEdge.loadComposition()
. The timeout here is set to 2000 milliseconds. The solution works with animations having child symbols (usingsym.ci
which holds a reference to the child symbols).