主题:  问题在于什么地方?

inkl

职务:普通成员
等级:1
金币:0.0
发贴:139
注册:2001/5/30 14:46:51
#12001/6/4 13:50:23
文本变量"height","width","move_x","move_y".主场景第一祯action为:
if ((width == 0) && (height == 0)) {
setProperty ("_root.ball", _x, 190);
setProperty ("_root.ball", _y, 245);
}
move_x=setProperty ("_root.ball", _x, Number(getProperty("_root.ball", _x))+Number(/:width));
move_y=setProperty ("_root.ball", _y, Number(getProperty("_root.ball", _y))+Number(/:height));
第二祯加一"F5"祯.
我的问题是为什么我的文本变量"move_x"和"move_y"在"trace()"以后"output"窗口没有电影"ball"的坐标值呢?



网络白痴 | 5D荣誉斑竹

职务:普通成员
等级:4
金币:10.0
发贴:1657
注册:2001/1/5 16:32:35
#22001/6/4 14:11:05
请问你的trace在哪呢?



inkl

职务:普通成员
等级:1
金币:0.0
发贴:139
注册:2001/5/30 14:46:51
#32001/6/4 14:21:59
在"move_x"之后trace(move_x);



inkl

职务:普通成员
等级:1
金币:0.0
发贴:139
注册:2001/5/30 14:46:51
#42001/6/4 14:58:35
你为什么不说话了?你还在吗?



网络白痴 | 5D荣誉斑竹

职务:普通成员
等级:4
金币:10.0
发贴:1657
注册:2001/1/5 16:32:35
#52001/6/4 15:01:22
我发了个简单的例子给你,你看看吧!



inkl

职务:普通成员
等级:1
金币:0.0
发贴:139
注册:2001/5/30 14:46:51
#62001/6/5 16:50:55
我没有看见你的例子呀!



inkl

职务:普通成员
等级:1
金币:0.0
发贴:139
注册:2001/5/30 14:46:51
#72001/6/5 16:55:25
我已经明白了!你这个时间考验好厉害呀!