SWF & FLV Toolbox - Using fscommand in Advanced Projectors

Macromedia Flash allows using the "fscommand" in projectors to control the playback and appearance of standalone projectors, as well as launch external applications. The "fscommand" command takes two parameters: a command and an argument, however, in some cases, an argument is not required. SWF & FLV Toolbox supports only few standard "fscommands" (fullscreen, showmenu and other commands are already implemented in configuration options). "Exec" is extended to accept not just executables but all registered types of file formats in your system. Supported commands are listed below:
Command Arguments Purpose
exec Path to application Executes an application from within the Advanced Projector or opens the registered file type with associated application. In Macromedia Flash MX an external application must be in a folder named "fscommand" which is a direct subfolder of the projector.
shellopen The full or relative path to the registered file type Opens the registered file type with associated application. For instance .XLS file will be opened with Microsoft Excel (part of Microsoft Office).
quit None Closes the Advanced Projector.

The "exec" command is used to launch an external application or registered file type with associated application. The external application or registered file type must be placed in a subfolder named 'fscommand' that should be located in the same directory as the Advanced Projector which uses the "fscommand". This security restriction helps prevent malicious use of the exec option.

on (release) {
  fscommand ("exec", "someApplication.exe");

This command is introduced in SWF & FLV Toolbox to open any registered file type with associated application except executable files (.COM, .EXE, .BAT, .CMD). This provides more security to you. As an argument you must provide the full or relative path to the file. Please, note that you must use "/" (forward slash) as a directory separator. 

on (release) {
  fscommand ("shellopen", "C:/Documents and Settings/TEST/TEXT.DOC");

This command causes the Advanced Projector to exit.

on (release) {
  fscommand("quit");