主题:  在一篇例文中看到在FLASH4中有一函数“_droptarg

crystaljiang

职务:普通成员
等级:1
金币:0.0
发贴:36
注册:2000/11/28 15:37:08
#12001/8/13 14:29:25
在一篇例文中看到在FLASH4中有一函数“_droptarget”,不知道在FLASH5中是否还有用。



Demon.S

职务:版主
等级:5
金币:10.0
发贴:2468
注册:2000/9/15 13:56:49
#22001/8/13 15:38:03
unloadmoive



janlay

职务:管理员
等级:7
金币:28.0
发贴:7244
注册:2003/11/27 18:07:11
#32001/8/13 18:02:56
用_droptarget获得被拖动对象在哪一个mc上面。如果拖动时lockcenter,就是返回被拖动对象的中心点所在的mc。

返回用斜框语法表示的实例路径。

//eg.
t=mc._droptarget;
//mc must be dragged!
//r u understand?



crystaljiang

职务:普通成员
等级:1
金币:0.0
发贴:36
注册:2000/11/28 15:37:08
#42001/8/14 10:01:23
不太明白,比如现有 If (_droptarget eq "/target1")
         Begin Tell Target("/dragmovie")
          Go to and Play("red")
         End Tell Target
用unloadmovie怎样代替



Demon.S

职务:版主
等级:5
金币:10.0
发贴:2468
注册:2000/9/15 13:56:49
#52001/8/14 10:08:20
unloadmovie is delete movie



janlay

职务:管理员
等级:7
金币:28.0
发贴:7244
注册:2003/11/27 18:07:11
#62001/8/14 10:29:58
我觉得_droptarget和unloadmovie有些风马牛不相及。不需要的时候delelte它



crystaljiang

职务:普通成员
等级:1
金币:0.0
发贴:36
注册:2000/11/28 15:37:08
#72001/8/14 14:34:11
楼上的人你刷我啊,我第一次问你时,你告诉我FLASH4中的_draptarget等同于5中的unloadmovie,我还纳闷了好半天。你现在又说。。。。。
我糊涂了