Dialogs.BrowseFile.show() This page was last modified over 30 day(s) ago and has 0 comment(s)

Back to Dialogs.BrowseFile Class Summary

Windows, Mac OSX, Linux



This method could return either String or Array - depending on dialog selection mode and user action

Displays a BrowseFile dialog which allows the user to select any file from their system. When the user has selected file, the full path to the file is returned.

If the user selects CANCEL the value returned will be the string "false".

This command can return either a string or an array depending on the file(s) selected. If the user selects one file a String will be returned. If multiple files are selected an array of Strings will be returned.

Example Code
//Simple example:
var myFile:String = mdm.Dialogs.BrowseFile.show()
//If Dialogs.BrowseFile.allowMultiple is set to true and a user selects multiple files:
var myFiles:Array = mdm.Dialogs.BrowseFile.show();

mdm.Dialogs.BrowseFile Class Example Downloads
No Example Downloads Available

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page