问题
In the Flash 10 player, suppose I've loaded a Sprite that's just a dozen random lines. Is there any way to inspect that Sprite's graphics object and find out the positions of those lines?
Currently I have a crazy work around where I draw the lines to a bitmap and inspect the bitmap, but this is crude and expensive.
回答1:
No and yes.
There's no especially convenient way, but it is possible. Check out Claus Wahlers blog post on the subject. It's a great read.
来源:https://stackoverflow.com/questions/1479304/can-i-get-vector-data-back-out-out-of-a-graphics-object