![]() |
Previous | Next |
The openDialog method opens a file dialog box.
Syntax
theme.openDialog(dialogType, parameters)
Parameters
dialogType
A String that specifies the type of dialog box. Must be set to “FILE_OPEN”.
parameters
A String that can be used for additional information. Must be set to “FILES_ALLMEDIA”.
Return Values
This method does not return a value.
Example
<THEME>
<VIEW id=“View1”
backgroundImage=“greenstone.bmp”
width=500 height=300 author=“Microsoft Corp.”>
<BUTTON
id=“Open”
image=“Open.png”
onclick=“jscript:
player.URL = theme.openDialog(‘FILE_OPEN’,‘FILES_ALLMEDIA’)”>
</BUTTON>
</VIEW>
</THEME>
Remarks
This method can be used for files on the local hard drives or on network drives.
See Also
Previous | Next |