Didn't Adobe Animate[1] (the successor of Flash) allow you to convert a .fla file to Canvas (or WebGL)?
[1] https://helpx.adobe.com/animate/using/creating-publishing-ht...