求助 数字控制影片坐标
刚学,实在不懂.见笑,求文本框输入的数字能控制影片坐标的写法.拖拽的影片坐标又能显示在文本框中.下面怎样改?
onClipEvent (mouseDown) {
this.startDrag();
x = _root._xmouse;
setProperty("/mc", _x, x);
_txt.onChanged = function(textfield_txt:TextField) {
var n:Number = Number(textfield_txt.text);
n = mc._x;
};
}
onClipEvent (mouseUp) {
stopDrag();
}
谢谢,已解决。
[[i] 本帖最后由 jingxxcn 于 2008-7-2 21:52 编辑 [/i]]