$CENTER_STYLE $CREATEJS_LIBRARY_SCRIPTS $ANIMATE_CC_SCRIPTS $SCRIPT_START var canvas, stage, exportRoot; function init() { canvas = document.getElementById("$CANVAS_ID"); $CREATE_LOADER $LOAD_MANIFEST } setTimeout( function() { dhtml.external && dhtml.external.resize && dhtml.external.resize("100%", "100%") && console.log('did the resize'); }, 200 ); $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 $HANDLE_COMPLETE_END $PLAYSOUND $SCRIPT_END
$PRELOADER_DIV