开发者

Absolute Coordinates in AS3

开发者_运维问答What is the simplest way to determine absolute object coordinates in AS3?


(foo as DisplayObject).localToGlobal(new Point(x,y));


var absolutePoint:Point = DisplayObject(foo).localToGlobal(new Point(foo.x, foo.y));

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜