Can I get vector data back out out of a Graphics o

2019-02-19 23:05发布

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条回答
Lonely孤独者°
2楼-- · 2019-02-19 23:56

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.

查看更多
登录 后发表回答