码迷,mamicode.com
首页 > 其他好文 > 详细

相对于自身的坐标位移

时间:2015-04-29 16:28:22      阅读:103      评论:0      收藏:0      [点我收藏+]

标签:

_local4 = new Point(960, (((1080 / 2) - (stage.stageHeight / 2)) + 74));

_local5 = this.cover_mc.globalToLocal(_local4);

//  -71 表示相对于自身父组件的坐标

this.tu.moveTo(this.cover_mc.logo_mc, -71, _local5.y, 0.9);
this.tu.animateToBeginning(this.cover_mc, 1, this.coverOutHandle);

相对于自身的坐标位移

标签:

原文地址:http://www.cnblogs.com/regalys168/p/4466035.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!