Copy link to clipboard
Copied
Hi, everyone! This question is very much "I'm a web dev novice and don't know what best practices are", so please bear with me!
I'm semi-familiar with Animate and it's functions, but have run into a road block when it comes to using the HTML5 Canvas in a larger HTML project (what is essentially personal/educational front-end development). I can impliment the interactive bits just fine (I tend to cut out the Canvas code and paste into the desired page), but the resulting code is super cumbersome; perhaps there's a minimalist/optimalist in my brain that looks at the mess I made and thinks "surely there's a better way."
There is a lot going on under the hood to make these animations work (and my Javascript knowledge is meager at best), but how do you manage both implimenting Animate online... while keeping the pages relatively legible and clean? Is there a best practice when it comes to this kind of thing, or is bulky code the unfortunate norm?
Thank you for reading!
Hi.
Well, in my opinion the best way is to incorporate the content created in Animate into iframes. It is simple, self-contained and less likely to interfere with other content on the page.
Please let us know what you think about this approach.
Regards,
JC
Copy link to clipboard
Copied
Hi.
Well, in my opinion the best way is to incorporate the content created in Animate into iframes. It is simple, self-contained and less likely to interfere with other content on the page.
Please let us know what you think about this approach.
Regards,
JC
Copy link to clipboard
Copied
Thank you so much, JC! I've seen 'iframes' every so often on this forum, but I never connected the dots. I'll do some research and try my hand at them! 🙂
(again, I really appreciate the suggestion!)