My first animation in Flash done in 1998 from Illustrator files. This was for a Dentist in Madison, WI.
I had his entire back story figured out. He drove the molar mobile and cavity carl was his nemesis.
The Flash file was converted into Animate CC the replacement for Flash and then exported as a movie in order to show it. Adobe still needs to write the code encapsulated for embedding within an existing page. I hope they figure that out. Sometimes they never do.