Sunday, 17 February 2013

Edge Animate with Greensock JS

It is possible to use the Greensock JS tweening engine with Edge Animate. Firstly, you need to download the zip file from Once the file has been downloaded you need to unzip the file and place the minified folder into the same directory as your saved Edge project file. Then open the HTML file with a text editor and add the line of code below to reference the greensock files.

<script src="minified/TweenMax.min.js"></script> 

Alternatively, you can also add greensock cdn link instead of downloading the file. Although an internet connection will be required because you are referencing the file from a web server.

<!DOCTYPE html>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<!--Adobe Edge Runtime-->
    <script type="text/javascript" charset="utf-8" src="testing_edgePreload.js"></script>
        .edgeLoad-EDGE-92420392 { visibility:hidden; }
<!--Adobe Edge Runtime End-->
 <script src=""></script>
<body style="margin:0;padding:0;">
 <div id="Stage" class="EDGE-92420392"></div>


  COPYRIGHT © 2014 · ILIKE2FLASH · Theme by Ourblogtemplates

Back to TOP