主题:  紧急求救

crystaljiang

职务:普通成员
等级:1
金币:0.0
发贴:36
注册:2000/11/28 15:37:08
#12002/5/5 13:11:40
两个问题
1。在 flash中做的按钮导到 director中后,点击它时不会出现手状,怎么办?
2。flash做的游戏导入director后我用play the frame,一直播放这个flash游戏,但如果我想点击flash中的离开按钮后,再跳回到director中的其他部分,该怎么做。
谢谢



lindmoo

职务:普通成员
等级:1
金币:0.0
发贴:19
注册:2001/10/14 17:25:44
#22002/5/8 9:25:38
1,首先,在flash中的按钮交互,在d中是无法检测到的,解决可以自己加些热区,手动加上交互
2,用go to frame framenum
当然这个动作是在d中加的,flash中的将失效.



andrewlin

职务:普通成员
等级:1
金币:1.0
发贴:184
注册:2001/7/8 16:42:18
#32002/5/8 9:40:14
应该用Flash中的geturl命令,后面跟lingo:命令即可



lindmoo

职务:普通成员
等级:1
金币:0.0
发贴:19
注册:2001/10/14 17:25:44
#42002/5/8 10:01:43
andrewlin老兄说的对,我又看了一下,找到了以前的资料,你可以看看这段话
FLASH向D传达变量的方法

你可以用getURL的三种方式来实现
getURL "eventirectorHandler"
getURL "lingoirectorCode"
getURL "string"

Using event you can call a handler from Director. For example...
getURL "myHandler"
would execute...

on myHandler
--do something
end

in Director.

getURL "lingo:beep"
would cause Director to beep.

getURL "string"
would pass the string to a getURL handler in Director...

on getURL whatString
put whatString
end
对于我犯的错误表示抱歉