How do you get Polygons from MovieClips in Flash?
问题 I have an actionscript that reads an swf and goes through movieclips in it. The movie clips should be simple shapes. I want to convert the data in these movieclips to a polygon. In other words, I want a series of coordinates that represent the shapes on the movieclip. 回答1: There's no easy way to do this. Once a shape is drawn to the stage, the only graphical information you can access is the rendered pixel bitmap; all vector information is lost. To transform shapes into polygons, you'll have