主题:  DirectMedia1.5的behavior是否支持d8?

vrfly

职务:普通成员
等级:1
金币:0.0
发贴:21
注册:2001/2/10 15:08:53
#12001/3/29 7:40:09
各位大侠:
我在使用DirectMedia1.5的behavior时,移动volumnbar时,显示
Script Error:Cannot divide by zero
Set val=float(the currentScreenVal of me)/float(the extendlength of me)

其实DirectMedia1.5自带的例子中也是这么写的,但没问题。我只是使用
它的behavior,并没有改变它的代码。不知为什么?
下面提供下载directmedia的地址:http://202.38.70.90/authorware/ 有兴趣
的同志可以试一试。

希望得到各位帮助。