Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

HTML 5 Canvas load & unload swf

New Here ,
Apr 05, 2022 Apr 05, 2022

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|

326
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 05, 2022 Apr 05, 2022

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

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 05, 2022 Apr 05, 2022
LATEST

I see, so to clarify I just create multiple HTML5 documents and target them accordingly?
Thnx

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines