home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global mtype, ctype, csize, fcopyobject, rchr, sepc, cpctfile, spctfile, tpctfile, extname, cauto
- if button(5, 15) then
- unLoad()
- set cauto to "STOP"
- set the visible of sprite 39 to 0
- if the machineType = 256 then
- set sepc to "¥"
- if ctype = "BMP" then
- openXLib("BMPFILE.DLL")
- else
- openXLib("PCTFILE.DLL")
- end if
- else
- set sepc to ":"
- end if
- if ctype = "BMP" then
- set extname to ".BMP"
- if csize = "BROWSE" then
- set folderName to "BMPB"
- else
- if csize = "SMALL" then
- set folderName to "BMPS"
- else
- set folderName to "BMPM"
- end if
- end if
- else
- set extname to ".PCT"
- if csize = "BROWSE" then
- set folderName to "PICTB"
- else
- if csize = "SMALL" then
- set folderName to "PICTS"
- else
- if csize = "MIDDLE" then
- set folderName to "PICTM"
- else
- set folderName to "PICTL"
- end if
- end if
- end if
- end if
- set cpctfile to the name of cast the castNum of sprite 31 & extname
- set spctfile to pathName() & folderName & sepc & cpctfile
- set fcopyobject to fileio(mnew, "?write", cpctfile)
- if objectp(fcopyobject) then
- set tpctfile to fcopyobject(mfilename)
- fcopyobject(mdispose)
- if sepc = "¥" then
- if not filecopy(spctfile, tpctfile, "CXOTPRYS32109607W") then
- alert("テ嘘テ鋭テ
[テ窶ヲテゥテ榲ョsテツオテ窶ケテツオテテステ③")
- end if
- else
- openXLib("FileCopy.XObj")
- set obj to filecopy(mnew)
- obj(menterpassword, "CXOOPBYJ10009607")
- obj(mfilecopy, spctfile, tpctfile)
- closeXLib("FileCopy.XObj")
- end if
- end if
- if the machineType = 256 then
- if ctype = "BMP" then
- closeXLib("BMPFILE.DLL")
- else
- closeXLib("PCTFILE.DLL")
- end if
- end if
- unLoad()
- updateStage()
- end if
- end
-