Export Animation as XML or JSON to Use Elsewhere?
Hi, I'm looking to export a tweened graphic symbol animation as a .xml, .json or other code file so that I can automate recreating the same animation in my video game that I'm making with C code.
To do that, I need the following symbol properties for each keyframe to exported in the order they exist on Adobe Animate's timeline:
- X and Y position
- Width and Height
- Rotation
- Scale
- Duration of tween or number of frames between keyframes
- Graphic Symbol Current Frame and Graphic Symbol Looping Setting (eg. Single frame, loop, play once)
- Opacity/Alpha (optional)
I'm aware you can export a texture atlas from a graphic symbol which includes a json file, but are there other ways to get each keyframes' properties such as extracting them from a .swf or even the .fla project file prehaps?
Thank you for any assistance!
