ShoeBox

Extract SWF

Extracts textures and animation data from a SWF (AS1, AS2 or AS3). The data can be used for other platforms such as Unity3D or html5. There is only 1 global timeline in the export, looping animations in the original SWF file will repeat over time in the export. Any scripting that affects DisplayObjects is support, all this tool is grabbing the state of each element in the Flash runtime. The current output consists of:

This data however is the base for making the animation work on another platform. I am workig currently on a few export formats including a HTML5 canvas based one and a Unity3D one.

Limitations

Currently it supports the basics which are:

Whereas there are naturally also some limitations or things to keep in mind such as:

Settings

Settings text

• frames
The amount of frames to capture.
• powerOfTwo
Wether the generated texture should be in units of power of two or irregular
• texMargin
The margin within the texture Atlas between each sprite

Example

...