i would like to clean up my code a little and put blocks into external js files. Timelines.js, Variables.js, Functions.js, scene01.js, scene02.js, etc.............
Example: I'm in Edge Animate 'document.compositionReady' Window Now if i put this code in to the completely empty Window and publish everything works just fine. My Html Page is opening and on load the square div moves 500 pixels to the right. yepnope({nope:['Javascript/greensock/TweenMax.js'], complete: init}); function init (){ var testSquare = sym.$("testSquare"); sym.tweenSquare = function(){ TweenMax.to(testSquare,2, {left:"+=500"}); } sym.tweenSquare() } I would like to put this code into an external Square.js file and call it. Now I have a completely blank Edge Animate 'document.compositionReady' Window and an external Square.js file with the above code in it. This has been driving me nuts for the last 10hrs straight! What do i put in the blank 'document.compositionReady' Window? How to get the Square.js file to load and fire off the function ? Thanks