OK, so I have this project where, in an ideal world, I can provide links to the main animation site and it loads up from a different location on the timeline depending on the link...
So I thought of using url variables (ie. .html?navigation=1 after the url), the links I need do not require to be entered manually so it shouldn't be a problem from a user perspective. I've placed this code after the close body tag of the index.html. This is my attempt or at least the start of it - there are 7 options in the IF ELSE statement:
<script>
var menu_position = getUrlVars()["navigation"]; if (menu_position == 0){ } elseif (menu_position == 1){
Question is I don't know how to load an animation at a set position, and therefore the code to place in the IF ELSE options.
I discovered the following code from the help files, but how to adapt it to be read from the html page?
AdobeEdge.getComposition("Edge-12345678").getStage().play("Start");
Any help is appreciated.
Thanks,
Joel