主题:  求助...谢谢

cheese

职务:普通成员
等级:1
金币:0.0
发贴:53
#12001/11/22 13:33:06
各位高手,小弟有一个关于DIRECTOR的一个很菜的问题:“在我制作成的一个多媒体光盘中,如何用按纽实现浏览光盘根目录(LINGO语言要怎样写)?”谢谢!



poloer

职务:普通成员
等级:1
金币:1.0
发贴:139
#22001/11/22 14:33:16
你的意思找根目录,那你是想去上一级吧,用“\..“就可以了,
不知是否是这样?



cheese

职务:普通成员
等级:1
金币:0.0
发贴:53
#32001/11/23 12:25:03
我的意思是:有一个“浏览光盘”的按纽,用lingo要怎样写,才能实现点击按纽后,弹出光盘的根目录窗口。....谢谢各位...呵呵~~~~我对lingo语言不熟悉....得卖本《lingo大全》....恶补



我是小马

职务:普通成员
等级:3
金币:17.0
发贴:794
#42001/11/23 12:38:49
使用open命令
open the CDRom_path with "c:\windows\explorer.exe"



cheese

职务:普通成员
等级:1
金币:0.0
发贴:53
#52001/11/23 16:48:59
谢谢楼上的朋友,我是这样子写上去的:

on mousewithin
cursor 280
set the member of sprite 7 = member "an-seek-d"
end
on mouseleave
cursor -1
set the member of sprite 7 = member "an-seek"
end
on mousedown
open the CDRom_path with "c:\windows\explorer.exe"
end

请问“CDRom_path”具体要怎样设置呢?



精灵

职务:普通成员
等级:1
金币:0.0
发贴:57
#62001/11/24 0:00:15
你需要用DirectOS Xtra来判断光驱路径,其实系统路径也是需要检测的,并不是每台机器都把WINDOWS装在C:WINDOWS的,关于插件你可以到mms.my163.com里去找



稻草人

职务:普通成员
等级:1
金币:0.0
发贴:51
#72001/11/24 15:10:31
在光盘中放一个特定的文件, 再来检测.
on CheckDrive
repeat with i = 67 to 90
set drive = numTochar( i )
set thisPath = string(drive & ":\xxx")--xx为光盘上的一个文件
set myFile = new(xtra "fileio") -- Create an instance of FileIO Xtra
openFile(myFile, thisPath, 1) -- attempt to open the file
if status(myfile) = 0 then -- status returns 0 for success
set myFile = 0 -- Dispose of the instance
return drive--就是它了
end if
end repeat
set myFile = 0 -- Dispose of the instance
end



hacker hacking

职务:普通成员
等级:4
金币:10.0
发贴:1629
#82001/11/25 2:28:47
楼上
是帝国的老稻吗?