| Sprite | 
| airSprite | 
Loader with AIR functions for basic load of settings and handling of commandline and drop events on desktop icon.

| airSprite | Loader with AIR functions for basic load of settings and handling of commandline and drop events on desktop icon. | 
| Private constants | |
| SETTINGS_FILENAME | Name of application configuration file. | 
| Private members | |
| app | Main application object | 
| stream | A FileStream object temporarily used to read and write script files. | 
| Constructor | |
| airSprite | Constructor for muSprite desktop frontend. | 
| Startup methods | |
| onComplete | Load settings and adds an event handler for commandline line arguments and drop events on the desktop icon and one for application shutdown. | 
| onInvokeEvent | When a file is dropped on the desktop icon or given on the commandline then it is loaded as the current script in the application. | 
| loadSettings | Load the application configuration file. | 
| deserializeSettings | Apply the settings to the state of the application. | 
| Shutdown methods | |
| onApplicationShutdown | Save settings when the application is terminated normally. | 
| saveSettings | Store settings in XML serialized form. | 
| serializeSettings | Serializes the current application state into an XML object. | 
| storeSettings | Writes the XML settings object to the application configuration file. | 
| Script loading | |
| fileRead | Prepare to read the script File asyncronously. | 
| fileReadHandler | Read the contents of the loaded file and let the application load it. | 
| readIOErrorHandler | An I/O error occurred when reading a script file. | 
Name of application configuration file.
private const SETTINGS_FILENAME: String 
Main application object
private var app: muSprite 
A FileStream object temporarily used to read and write script files.
private var stream: FileStream 
Constructor for muSprite desktop frontend.
public function airSprite() 
Load settings and adds an event handler for commandline line arguments and drop events on the desktop icon and one for application shutdown.
private function onComplete( event: Event ):void 
When a file is dropped on the desktop icon or given on the commandline then it is loaded as the current script in the application.
public function onInvokeEvent( invocation: InvokeEvent ):void 
Load the application configuration file.
private function loadSettings( settingsFile: File ):void 
Apply the settings to the state of the application.
private function deserializeSettings( settingsData: String ):void 
Save settings when the application is terminated normally.
private function onApplicationShutdown( event: Event ):void 
Store settings in XML serialized form.
private function saveSettings():void 
Serializes the current application state into an XML object.
private function serializeSettings():XML 
Writes the XML settings object to the application configuration file.
private function storeSettings( settings: XML ):void 
Prepare to read the script File asyncronously.
private function fileRead( scriptFile: File ):void 
Read the contents of the loaded file and let the application load it.
private function fileReadHandler( event: Event ):void 
An I/O error occurred when reading a script file.
private function readIOErrorHandler( event: Event ):void