PDA

View Full Version : Uploading & Reading In Data


CompSci
07-23-2013, 09:14 AM
Hello,

Is there a way to upload/read-in a file from an environment. I wanted to write a code that will play a video that a user creates.

While in the environment the user would press a button that would prompt him/her to enter a file name or direct them to choose a video file. The selected file would then be played in the environment.

Thanks

Jeff
07-23-2013, 12:41 PM
You could read in the video file names from a file and load those into a dropdown list that the user selects from. Or you could have the user select the file from a vizinput.fileOpen dialog. The open dialog is documented on the vizinput dialogs (docs.worldviz.com/vizard/vizinput_dialogs.htm) page.

CompSci
07-24-2013, 04:31 AM
You could read in the video file names from a file and load those into a dropdown list that the user selects from. Or you could have the user select the file from a vizinput.fileOpen dialog. The open dialog is documented on the vizinput dialogs (docs.worldviz.com/vizard/vizinput_dialogs.htm) page.

Thanks, I will give this a try.