主题:  关于startDrag()

nean

职务:普通成员
等级:1
金币:0.0
发贴:31
注册:2003/10/30 14:44:06
#12004/4/30 11:16:09
startDrag(target,[lock ,left , top , right, bottom])
我想了解left、top、right、bottom 具体的含义是什么

AS字典上的解释是:
left、top、right、bottom 相对于影片剪辑父级坐标的值,这些值指定该影片剪辑的约束矩形。

那句红色的字我理解不了



落日秋云飞

职务:普通成员
等级:1
金币:0.0
发贴:25
注册:2004/4/30 20:09:42
#22004/5/4 11:29:34
这是数学的概念


比如父级影片坐标是(9,7)

left等用10,10,10,10,

就是以9,7为中心点做一个四方形,其中右下角的坐标为14,12,以此类推