Hey all!
I’ve got a little problem that I’ve not really found a good solution for.
I have a symbol containing a moderately complex shape (a few fills and bunch of curves).
Instead of animating this symbol I want to dynamically draw it using AS3 so that it integrates better with it’s movements in it’s surroundings. (It’s hairy, hairs should move nicely when wind blows through them - as in when the symbol is moving around)
The animation and drawing code will be no problem, but I have not found a way to easily get my shape into AS3.
I could rewrite the shape as an array containing all nodes and curve control points, but that would take like forever for this particular shape…
I’ve also played with exporting the image as an AI file and getting the points data from that using a custom application, but that is tedious as well and I haven’t really gotten my head around how to translate the curve data yet.
Anybody have any better suggestions? I can’t help feeling like there should be a “convert shape to equivalent actionscript code” function or something.