Copy link to clipboard
Copied
For example, I have a vector drawing:
Is it possible to write its data (vector points, contour color, line color, contour thickness) in a string or XML format, or any other to simply save data about this figure and build the same after a long time based on previously saved data.
I need to transfer a vector shape to a SWF file for my plugin
Hi! It's technically possible, but for anything more than simple shapes I wouldn't go the shape > data route. Instead, export symbols as seperate .SWF/.SWC files, and dynamically load those into your SWF panel, this is how Keyframe Caddy does it.
Here's a page showing how this works using both AS2 & AS3, should be a handy place to start!
Copy link to clipboard
Copied
open your history panel and check the steps used to create those shapes. do you see any red x's? (ie, that polystar/pentagon is likely problematic.)
Copy link to clipboard
Copied
This is similar to what KeyframeCaddy does. It loads drawings into itself. My plugin should do the same. I'm not trying to recreate KeyframeCaddy, I just need to understand how it works
Copy link to clipboard
Copied
your first post seemed clear enough, but your 2nd, i do not understand.
Copy link to clipboard
Copied
Hi! It's technically possible, but for anything more than simple shapes I wouldn't go the shape > data route. Instead, export symbols as seperate .SWF/.SWC files, and dynamically load those into your SWF panel, this is how Keyframe Caddy does it.
Here's a page showing how this works using both AS2 & AS3, should be a handy place to start!