What specifically do you need multiple canvas for? Depending on what you want to use it for, I think you could get the needed result with symbols.
I had in mind that I wanted a scrolling page of say three sections - a separate canvas in each. Each could be triggered when scrolled into the viewport - if I should be thinking about it in a different way then I'd love to hear!
I did try iframes, but couldn't figure out how to call exportRoot from the main file?
Thanks for the response
1 person found this helpful
You just access the iframe's window object...
var exportRoot1 = document.getElementById("myIframeID").contentWindow.exportRoot;
Or something like that.
Many thanks that worked!
Can you create a token for creating custom publishing templates for this composition ID variable please? Right now (Animate CC 2017 2nd update), they've ADDED this comp id with random string ID, but didn't add a token to the custom publishing templates (see docs here > Create HTML5 Canvas documents in Animate CC))