• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Can't control Adobe Edge Animate Composition in DW

New Here ,
Jun 13, 2018 Jun 13, 2018

Copy link to clipboard

Copied

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.

Views

196

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation