2 Replies Latest reply on Jun 18, 2015 9:36 AM by bstensberg

    How can I call a specific scene in my Edge Animation externally?

    chenryd3

      I've found help on getting PLAY and STOP commands to work using external JavaScript, however I'm trying to coordinate specific scenes in my animation with external query controls elsewhere on the page and wanted to be able to call individual scenes based on which question I was presenting on a survey.  When I use the PLAY("scene_label") command, Edge ignores the "scene_label" and starts the animation from the beginning.  Is there a function like the old Flash gotoandPlay that works externally with Edge?  Here's my current page in case it's relevant...

       

      <!DOCTYPE html>

      <html>

      <head>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

        <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

        <title>Untitled</title>

      <!--Adobe Edge Runtime-->

          <meta http-equiv="X-UA-Compatible" content="IE=Edge">

          <script type="text/javascript" charset="utf-8" src="SEQONLINE_v1_edgePreload.js"></script>

          <style>

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

          </style>

      <!--Adobe Edge Runtime End-->

      <script type="text/javascript">

          function goto4() {

              var myComp = AdobeEdge.getComposition("EDGE-366526245");

              myComp.play("scenefour");

          }

      </script>

      </head>

      <body style="margin:0;padding:0;">

        <div id="Stage" class="EDGE-366526245">

        </div>

          <br /><br /><br /><br /><br /><br /><br />

          <div id="GoToFour" onclick="goto4()">GO TO FOUR</div>

      </body>

      </html>

       

      Thanks for any help you can give me with this.