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

    oam file not previewing/playing in dreamweaver/html

    chanmalagallery Level 1

      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>

      <html>

      <head>

      <meta charset="UTF-8">

      <title>animate_hedgeTrimmers</title>

      <!--Adobe Edge Runtime-->

      <script>

        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')) {

        done=true;

        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;

        head.removeChild(script);

        }

        };

        head.appendChild(script);

        </script>

      <style>

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

          </style>

      <!--Adobe Edge Runtime End-->

      </head>

       

       

      <body>

       

       

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

      </body>

      </html>