Sunday, April 4, 2010

An ''drawn'' animation converted to as3...

For instance, if I draw a blue rectangle in frame, is there any way I can convert that into a sequence of code, or somehow generate the code in AS3 that draws that rectangle?

An ''drawn'' animation converted to as3...

If you mean via the flash authoring interface, then not automatically.

You could more easily do it in the player, by capturing mouse event driven drawing commands etc for replaying. There was an old extension that I had at one point called sel2draw which was a basic converter for converting flash authoring tool vectors into actionscript (as2). It was pretty basic in terms of what it generated and didn't create animated drawings.

No comments:

Post a Comment