If the SWF library supports Sound, that would be great

I lean on Starling when dealing with animations, as it’s geared towards handling spritesheets. In this way, you can export your animations from anywhere (including Adobe Animate) as image sequences (with alpha). These are converted to optimised spritesheets using something like TexturePacker 6.0.1 (detailed here).

In Starling, these sequences are placed in a Starling MovieClip. These can then have sound/s attached to them at specified frames, using the movieClip.setFrameSound() method.

See this example:

The advantage Starling with spritesheets has over say an SWF asset, is that it’s GPU optimised, and incredibly performant.

1 Like