Copy link to clipboard
Copied
Hi
I have a HTML 5 Canvas project that is a tutorial with many individual modules as swf files.
In AS3 I was able to load / unload movies to continue to next module that replaced the one prior.
How can I do that in HTML5 Canvas?
Thanks|
Copy link to clipboard
Copied
If you're talking about loading a published Animate document into a movieclip, no, you can't do that with Canvas documents.
If you're talking about an Animate document chain-loading another document that completely replaces it, then yes, you can do that. Canvas documents are just HTML pages, so you can use whatever standard JavaScript you'd like to load them in.
https://developer.mozilla.org/en-US/docs/Web/API/Location/href
Copy link to clipboard
Copied
I see, so to clarify I just create multiple HTML5 documents and target them accordingly?
Thnx