"AdobeAn is not defined" errors when trying to test in a browser.
When I try to test the movie (it's an flash file converted to HTML5) I get "AdobeAn is not defined" errors when trying to test in a browser. I've tried different movies with the same effect. Is there a simple fix for this? It complains about this line:
var comp=AdobeAn.getComposition("4EB76E079FBC4384212317D6674DBBC1");
Here's a larger snippet:
<snip>
})(createjs = createjs||{}, AdobeAn = AdobeAn||{});
var createjs, AdobeAn;
</script>
<script>
var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation;
function init() {
canvas = document.getElementById("canvas");
anim_container = document.getElementById("animation_container");
dom_overlay_container = document.getElementById("dom_overlay_container");
var comp=AdobeAn.getComposition("4EB76E079FBC4384212317D6674DBBC1");
var lib=comp.getLibrary();
var loader = new createjs.LoadQueue(false);
......</snip>
Anyone have this problem?