file I/O problem
file I/O problem
(OP)
Hey everyone,
I've been trying to use the fileio Xtra for a project I'm working on, but I'm running into a problem. I'm attempting to simply get the windows "open" dialog box to open for now, but I can't even do that for some reason. The script I modified from a more in-depth script is:
on mouseUp
global myFile
set myFile = new xtra("fileio")
set fileName = displayOpen(myFile)
openFile(myFile, filename, 1)
end
I based it off of the script at:
htt p://www.ad obe.com/cf usion/know ledgebase/ index.cfm? id=tn_3192
After I wasn't able to get my script to open any dialog box, I tried simply using the script directly from that page, and that didn't work either.
Eventually I want to be able to have the user import a w3d scene to be manipulated by the user. I have the manipulation controls working already with a pre-determined w3d object and model.
Thanks for the help,
Anthony
I've been trying to use the fileio Xtra for a project I'm working on, but I'm running into a problem. I'm attempting to simply get the windows "open" dialog box to open for now, but I can't even do that for some reason. The script I modified from a more in-depth script is:
on mouseUp
global myFile
set myFile = new xtra("fileio")
set fileName = displayOpen(myFile)
openFile(myFile, filename, 1)
end
I based it off of the script at:
htt
After I wasn't able to get my script to open any dialog box, I tried simply using the script directly from that page, and that didn't work either.
Eventually I want to be able to have the user import a w3d scene to be manipulated by the user. I have the manipulation controls working already with a pre-determined w3d object and model.
Thanks for the help,
Anthony
RE: file I/O problem
--
on mouseUp me
fileio = new xtra("fileio")
fileSelected = fileio.displayOpen()
end mouseUp
--
Kenneth Kawamoto
www.materiaprima.co.uk
RE: file I/O problem
I tried inserting your code into the button's script and I still have the same problem. I can't get any dialog to pop up. Any ideas what's causing this?
Thanks again,
Anthony
RE: file I/O problem
Type in the following in the Message window:
put interface(xtra "fileio")
What do you get?
Kenneth Kawamoto
www.materiaprima.co.uk
RE: file I/O problem
-Anthony
RE: file I/O problem
fileio = new xtra("fileio")
Then hit the Return key.
Then type in:
fileio.displayOpen()
Then hit the Return key again.
Do you see the file open dialogue window pops up?
Kenneth Kawamoto
www.materiaprima.co.uk
RE: file I/O problem
-Anthony
RE: file I/O problem
-Anthony
RE: file I/O problem
-Anthony