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, 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 draw 50%
of them, and then people can guess what the original piece of art was.

- Speed and elegant coding aren't a primary concern here. It's just a
prototype.

Any ideas of how to do this?

I was hoping I could find some sort of function that would let me iterate
through each curve in my original piece of art, and then I could randomly
decide whether or not to draw each curve into a new graphic, but I can't
seem to find anything like that. If anybody has any clever suggestions, I'd
love to hear 'em...

--T
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to