0 Replies Latest reply on Jul 1, 2015 9:05 AM by Earthius

    oam file not previewing/playing in dreamweaver/html


      my edge animate file is not loading/playing or even showing up/visible in my dreamweaver html webpage.  I even inserted it into a blank document, because my document is a template and I would need to copy the code out from a blank document, but it does not work in the blank document either

      here's the code the oam produces in the html header and body (I made the edge code blue and made the code I found suspicious red):


      <!doctype html>



      <meta charset="UTF-8">


      <!--Adobe Edge Runtime-->


        var custHtmlRoot="/Assets/";

        var script = document.createElement('script');

        script.type= "text/javascript";

      script.src = "http://animate.adobe.com/runtime/6.0.0/edge.6.0.0.min.js";

        var head = document.getElementsByTagName('head')[0], done=false;

        script.onload = script.onreadystatechange = function(){

        if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) {


        var opts ={

          scaleToFit: "both",

          centerStage: "none",

          minW: "0px",

          maxW: "undefined",

          width: "150px",

          height: "80px"


        opts.htmlRoot =custHtmlRoot;

        AdobeEdge.loadComposition('hedgeTrimmers', 'EDGE-17516749', opts,

        {"style":{"${symbolSelector}":{"isStage":"true","rect":["undefined","undefined","150px"," 80px"]}},"dom":{}}, {"style":{"${symbolSelector}":{"isStage":"true","rect":["undefined","undefined","150px"," 80px"],"fill":["rgba(255,255,255,1)"]}},"dom":{}});

        script.onload = script.onreadystatechange = null;







              .edgeLoad-EDGE-17516749 { visibility:hidden; }


      <!--Adobe Edge Runtime End-->







      <div id="Stage" class="EDGE-17516749"></div>