$CENTER_STYLE $CREATEJS_LIBRARY_SCRIPTS $ANIMATE_CC_SCRIPTS $SCRIPT_START var canvas, stage, exportRoot; function init() { canvas = document.getElementById("$CANVAS_ID"); // Delfi clicktag eventlistener on the canvas element. canvas.addEventListener("click", function() {window.open(dparams.getVar('clicktag'), '_blank')}); $CREATE_LOADER $LOAD_MANIFEST } $HANDLE_FILE_LOAD_START $HANDLE_FILE_LOAD_BODY $HANDLE_FILE_LOAD_END $HANDLE_COMPLETE_START //This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage. $CREATE_STAGE //Registers the "tick" event listener. $START_ANIMATION //Code to support hidpi screens and responsive scaling. $RESP_HIDPI $HANDLE_COMPLETE_END $PLAYSOUND $SCRIPT_END $PRELOADER_DIV