I believe JSFL can get at the curve/vertex data - but only at
author-time, not at runtime.
Perhaps you could use JSFL to extract that data into a form you _can_ use?
Alternatively, could you use JSFL to pregenerate various states of
your object? e.g. copy the graphic, randomly delete 10% of the
If all else fails you can always use an animated mask for the reveal..
- Original Message -
From: Todd Kerpelman t...@kerp.net
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, January 12, 2009 11:53 PM
Subject: [Flashcoders] Partially drawing a graphic?
Hey
@chattyfig.figleaf.com
Sent: Monday, January 12, 2009 11:53 PM
Subject: [Flashcoders] Partially drawing a graphic?
Hey, Flash Coders! Wondering if you can help me out with a little problem
I'm working on...
- I have a complicated piece of vector art in my Flash file.
- I'm basically
How are you storing the vector art?
You need a way to parse out the data so that you can choose which lines to
draw. Degrafa is an excellent way to go. http://www.degrafa.org/
I don't know Degrafa well enough to tell you if there is something already
in there that will make what you're trying to
Hey, Flash Coders! Wondering if you can help me out with a little problem
I'm working on...
- I have a complicated piece of vector art in my Flash file.
- I'm basically trying to find a way to partially draw it. That is, out of
the 2000 curves that are in my piece of art, I'd like to randomly
something I've always wanted to try is write a script for Illustrator that
would output all of the path info including bezier handles to a text file
for use in flash.
Maybe there's something in the api that will help.
A big issue here is that you need a format that can be parsed at runtime.
Which I'm quickly finding out is not all that easy to do with the new Adobe
Format... FXG. :(
I'm writing a tile based game right now, and I want to store my tile library
in a runtime-loadable format, like FXG or degrafa...
Hmmm... well, for the record, my art is currently just stored as a plain ol'
Graphic in my Flash IDE library (after tracing it from a bitmap) although I
can convert it to other formats if need be. I was hoping Flash had some way
of getting at the vector data, given that it's storing it internally
8 matches
Mail list logo