主题:  关于Director8.0与Director8.5

5D荣誉斑竹

职务:普通成员
等级:4
金币:10.0
发贴:1537
注册:2001/8/23 5:26:46
#12001/12/26 22:59:48
我有些程序在8.0上运行很好,但在8.5上就不行。有人能告诉我关于它们lingo用法上的一些不一致之处吗?谢谢。(非3d lingo和Multiuser lingo)



草原风

职务:版主
等级:5
金币:13.0
发贴:3489
注册:2001/2/17 19:47:06
#22001/12/27 10:24:12
应该不会的,一个公司的产品向下兼容性应该是好的,你再试试看吧



5D荣誉斑竹

职务:普通成员
等级:4
金币:10.0
发贴:1537
注册:2001/8/23 5:26:46
#32001/12/27 11:02:32


It's seemed very strange. I don't know what's wrong with it . You can
download that file from: www.irisdream.com/sound4.dir

All things will be fine before you have a view of that code .you can play it
in Director. But after you view the behaviour named 'B_sound button' I gived
below, you can never play the movie anymore.Just a pup-up window tell me
that:" Script error: Variable used before assigned a value."

What's wrong with that , and how to fix it?

Finally I found it worked well with Director 8.0 . But I use Director 8.5.

What's the difference?

-- sprite ref, ie (sprite 1)
property pSprite

-- member refs, ie (member 1 of castLib 1)
property pUpMember
property pDownMember

on beginSprite me
  pSprite = sprite(me.spriteNum)
end

on getPropertyDescriptionList me
  myList = [:]
  myList[#pUpMember]   = [#comment: "Up state:", #format: #graphic,
#default: 1]
  myList[#pDownMember] = [#comment: "Down state:", #format: #graphic,
#default: 1]
  return myList
end

on mouseUp me
  pSprite.member = pUpMember
end

on mouseDown me
  pSprite.member = pDownMember
end

on mouseUpOutside me
  pSprite.member = pUpMember
end

编辑历史:[这消息被udreamer编辑过(编辑时间2001-12-27 11:12:48)]


5D荣誉斑竹

职务:普通成员
等级:4
金币:10.0
发贴:1537
注册:2001/8/23 5:26:46
#42001/12/27 11:06:19
就是这个,你可以去http://www.irisdream.com/sound4.dir下载。我在macromeida的forum上问了,可是还没有人回答。为什么我一看过'B_sound button' 后,就出现问题了?



5D荣誉斑竹

职务:普通成员
等级:4
金币:10.0
发贴:1537
注册:2001/8/23 5:26:46
#52001/12/28 11:28:09
解决了,不知道怎么回事,分隔符打开后变成了怪字符。