Self-contained Animate CC Canvas Output
Hi guys,
we have publishers that require a self-contained html file, meaning no external scripts, images, css...
Everything would be already taken care of especially with the publishing option (of a canvas document) to have JS included inside the HTML file, however I am not sure how I would be solving for changing image references in the JS to data URI:
- lib.ssMetadata = [
{name:"Concept1_atlas_P_", frames: [[428,1004,72,72],[0,1004,426,64],[0,0,600,500],[0,502,600,500],[0,1070,56,56]]},
{name:"Concept1_atlas_NP_", frames: [[0,0,600,500],[602,0,300,250],[0,502,600,500]]}
];
and everytime its' referenced like so:
this.spriteSheet = ss["K8DM37_ConceptFunctionality_atlas_P_"];
this.spriteSheet = ss["K8DM37_ConceptFunctionality_atlas_NP_"];
Can someone please advise? Thanks!