0 Replies Latest reply on Jul 22, 2015 2:15 AM by tobi_h

    How to import two .oam files in one html?

    tobi_h Level 1

      Hi there,

       

       

      i'm trying to import 2 animations in my dreamweaver html file. Importing one single .oam works fine but when i try to ad the second file, nothing works. What am i doing wrong?

       

      <!doctype html>

      <html>

      <head>

      <meta charset="UTF-8">

      <title>Unbenanntes Dokument</title>

      <style type="text/css">

      body {

        margin-left: 0px;

        margin-top: 0px;

        margin-right: 0px;

        margin-bottom: 0px;

      }

      </style>

       

       

      <!--Adobe Edge Runtime-->

      <script>

        var custHtmlRoot="gallerie1920/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: "width",

          centerStage: "none",

          minW: "0px",

          maxW: "undefined",

          width: "1920px",

          height: "770px"

      };

        opts.htmlRoot =custHtmlRoot;

        AdobeEdge.loadComposition('gallerie1920', 'gallerie1', opts,

        {"dom":{}}, {"dom":{}});

        script.onload = script.onreadystatechange = null;

        head.removeChild(script);

        }

        };

        head.appendChild(script);

        </script>

       

      <style>

              .edgeLoad-gallerie1 { visibility:hidden; }

      </style>

       

      <!--Adobe Edge Runtime End-->

       

       

       

       

      <!--Adobe Edge Runtime-->

      <script>

        var custHtmlRoot="menue_dentzer_2/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: "width",

          centerStage: "none",

          minW: "0px",

          maxW: "undefined",

          width: "1920px",

          height: "109px"

      };

        opts.htmlRoot =custHtmlRoot;

        AdobeEdge.loadComposition('menue_dentzer_2', 'menue1', opts,

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

        script.onload = script.onreadystatechange = null;

        head.removeChild(script);

        }

        };

        head.appendChild(script);

        </script>

       

      <style>

              .edgeLoad-menue1 { visibility:hidden; }

      </style>

       

      <!--Adobe Edge Runtime End-->

       

      </head>

       

       

       

       

      <body><div id="Stage2" class="menue1"></div>

       

      <div id="Stage" class="gallerie1"></div>



      </body>

      </html>

       

       

       

       

      Thanks, Tobias

       

      ------------------------------------------------------------------------------------------ ----------

      Im working with:

      Dreamweaver CC 14

      Adobe Edge CC15