I would like to integrate a bunch of »edge animations« on my website/webapp but all the <edgeid>_edgePreload.js
are causing headache. All in all, what I really would like to do is:
- include jquery and edge itself once,
- load the
<egde_id_egde.js
files via Ajax and - finally create the compositions on the fly,
so that I can start/stop/pause them when required, without using the preloader script at all.
In short:
How can I »register« the composition definitions, as done in in the generated definition files here:
Edge.registerCompositionDefn(compId, symbols, fonts, resources, opts);
so that
Edge.getComposition(<id>)
does return the composition, without using the preloader?
Btw.: I was stepping through the source code a bit and found that the composition definition did not have an okToPlay
property, what made edge refuse to return the composition.