We have the need to have multiple canvases on one page, however the Animate HTML5/JS export always assumes there will always be only one canvas on the page ever. I've read the previous solutions from years ago of using iframes, but that is just not an option for us.
Seems like it would have be simple to include a namespace option for all the 'export-specific' js variables and functions in the Publish Settings, similar to custom namespaces for lib, createjs, and images. Like instead of the main ID of 'canvas' could be 'canvasCustom1234' so there would be no conflicts. Going through each exported html and renaming everything so they play nice with other exported code from Animate isn't a very good process - anyone find a way to get this to work without iframes?
Why are iframes not an option?
Site policy. Do you have any alternatives?
Use iframes anyway. How will anyone know unless they go manually snooping through your source code?