Main : Application Tab

System Tray

1. Enabling this option tells SWF Studio to create an icon for your application in the system tray.

2. Enable this option to hide the Windows taskbar button when your application window is minimized so the the system tray icon is the only visible footprint the application leaves behind. You can also enable the "hide from taskbar" option on the Defaults Tab or ssCore.App.showInTaskbar to hide the application taskbar button so it is never shown for your application.

3. This field contains a path to the ICO file you want to appear in the system tray. You can supply an absolute path or a relative path to the ICO file.

If you have asked SWF Studio to display an icon in the system tray and you leave this field empty, SWF Studio will use the project icon from the Output Tab. If no project icon has been specified, the default SWF Studio application icon will be used.

4. Opens a standard Windows File Open dialog that allows you to select an ICO file. If the system tray icon field is already populated, that value will be used to initialize the start directory for the File Open dialog, otherwise the system default folder will be used.

5. A preview of the selected icon file as it will appear in the system tray when your application is running.

Exit Keys

Flash gives you access to keyboard events so you could easily add code to your application to watch for a keyboard event and exit the application when the desired "exit" key is pressed. With the SWF Studio Keyboard commands you can gain even more control.

These settings offer you a quick and easy way (no code required) to set up a key or keys that can be used to quit your application. Once you press the exit key, the application will terminate immediately unless you are using the onQuit notification.

6. This option is enabled by default and sets the application exit key to be the ESCAPE key.

7. When this option is enabled, pressing any key on the keyboard will cause the application to terminate. This is most useful when you want to exit your screensaver application when the user presses any key.

8. If you enable this option you can choose specific keys or key combinations to be used as the exit key. Some combinations of keys are reserved by Windows (see list below) and may not work properly as exit keys or may not be desirable to use because of their more common use in Windows. The Microsoft web site contains a more complete list of Keyboard Shortcuts for Windows.

F1: Starts Windows Help
F10: Activates menu bar options
ALT+F4: Closes the current window
ALT+F6: Switch between multiple windows in the same program
CTRL+F4: Closes the current Multiple Document Interface (MDI) window
CTRL+C: Copy
CTRL+X: Cut
CTRL+V: Paste
CTRL+Z: Undo
CTRL+B: Bold
CTRL+U: Underline
CTRL+I: Italic
SHIFT+F10: Opens a shortcut menu for the selected item

9. When this option is enabled the ALT key must be pressed with the specified exit key from the dropdown list (12) in order to termination the application.

10. When this option is enabled the SHIFT key must be pressed with the specified exit key from the dropdown list (12) in order to termination the application.

11. When this option is enabled the CTRL key must be pressed with the specified exit key from the dropdown list (12) in order to termination the application.

12. This dropdown list allows you to specify a key from the list of F1..F12, 0..9 or A..Z that, when pressed, will cause the application to terminate. This key is not normally used alone, but with one or more of the shift keys: ALT, SHIFT or CTRL.

Startup Options

13. Tells SWF Studio that instead of starting as a normal window, your application should start in minimized mode. This means it will appear as a button on the taskbar and/or as an icon in the system tray. Clicking on the taskbar button or on the system tray icon will restore the window to it's normal state.

14. Enable this option to allow your application to start without displaying a window. This is useful if you want to create an application that runs in the background without a user interface. You can make your window visible at any time using the ssCore.Win.show command. If you don't want to start your application in hidden mode, but you want to hide the application window later, you can use the ssCore.Win.hide command.

15. When you enable this option, SWF Studio uses a Windows synchronization primitive called a mutex ("mutual exclusion") object to make sure that only one instance of your application is allowed to run at any time. when you attempt to start a second instance, SWF Studio activates the original instance and sends the command line to the original instance using the App.onOtherInstance notification so the original running instance can process the command line (if necessary).

16. This option prevents screensavers from starting while your application has focus. This is useful if you are creating a presentation or long running demo and you don't want to worry about a screensaver interrupting your application. Note: If you switch to another application, SWF Studio can't stop screensavers from starting, this feature only works if your application has focus.

17. Enabling this option makes you window draggable when you click on it anywhere, as long as the cursor is the default arrow pointer. That means that you won't be able to drag your window by clicking on a text field. This can be useful and even necessary to enable your window to be moved if you have disabled the title bar (using the options on the Window Tab). You can enable and disable this feature in code using the ssCore.Win.setSmartDrag command. If you need more control over when your application window is draggable, you can use the ssCore.Win.setDraggable command.