How does flash store (represent) movieclips and sprites?
Posted
by
humbleBee
on Game Development
See other posts from Game Development
or by humbleBee
Published on 2011-03-18T19:43:00Z
Indexed on
2011/03/19
0:19 UTC
Read the original article
Hit count: 359
architecture
|flash
When we draw any object in flash and convert it into a movieclip or a sprite, how is it stored or represented in flash. I know in vector art it is stored or represented as line segments using formulae. Is there any way to get the vertices of the shape that was drawn?
For example, lets say a simple rectangle is drawn and is converted to a movieclip. Is there anyway to obtain the vertices and the line segments from the sprite? So that its shape is obtained. Enough information should be obtained so that the shape can be replicated. That's the key - replication.
In simple terms, where does flash store information about a shape that has been drawn so that we can obtain it and attempt to replicate the shape ourselves?
© Game Development or respective owner