0 Replies Latest reply on Jun 13, 2018 2:34 PM by mikesmithcgartist

    Can't control Adobe Edge Animate Composition in DW

    mikesmithcgartist

      I'm building a site with Dreamweaver I decided to use Adobe Edge Animate for animations. I created my animations and exported them to Compositions and I added them in Dreamweaver.

      I need to control the playing and stop time of animations by jquery .

      I searched a lot about it , only thing I could find was an old tutorial that was obsoleted and even the blogger said , this method doesn't works correctly for new versions.

      But the interesting thing is that when I want to write in the code section "AdobeEdge", When I write the letter A, immediately Dreamweaver shows it in the list with all its functions. 

      • this is my codes and it doesn't works :

      HTML :

      <!doctype html>
      <html>
      <head>
      <meta charset="utf-8">
      <title>test</title>
      </head>
      <script src="jquery-1.9.1.min.js"></script>
      <script src="jquery_anim.js"></script>
      <script src="edge.6.0.0.min.js"></script>
      <script src="player.js" type="text/javascript"></script>
      <body>
      <object id="EdgeID" class="EDGEX" type="text/html" width="570" height="420" data-dw-widget="Edge" data="Export/Assets/TEST.html">
      </object>
      <div></div>
      <input type="button" title="WORK !" onClick="vc_play()" value="START!" >
      </body>
      </html>

       

      JAVASCRIPT :

      function vc_play(){
      'use strict';
      $
      ("#EDGEX").play(); //notworks
      $
      ("#EDGEX").getComposition().getStage().play(); //notworks
      $
      ("#EDGEX").getComposition("#EDGE-25436211").getStage().play();//notworks
      }

      If you need any extra information please tell me , thanks.