/**
 * WARNING! THIS IS A GENERATED FILE, AND WILL BE RE-GENERATED EACH TIME THE
 * AJAXBRIDGE IS RUN.
 *
 * You should keep your javascript code inside this file as light as possible, 
 * and rather keep the body of your Ajax application in separate *.js files. 
 *
 * Do make a backup of your changes, before re-generating this file (AjaxBridge 
 * will display a warning message to you).
 *
 * Please refer to the built-in documentation inside the AjaxBridge application 
 * for help on using this file.
 */
 
 
/**
 * Application "zounds.mxml"
 */

/**
 * The "zounds" javascript namespace. All the functions/variables you
 * have selected under the "zounds.mxml" in the tree will be
 * available as static members of this namespace object.
 */
zounds = {};


/**
 * Listen for the instantiation of the Flex application over the bridge
 */
FABridge.addInitializationCallback("b_zounds", zoundsReady);


/**
 * Hook here all the code that must run as soon as the "zounds" class
 * finishes its instantiation over the bridge.
 *
 * For basic tasks, such as running a Flex method on the click of a javascript
 * button, chances are that both Ajax and Flex may well have loaded before the 
 * user actually clicks the button.
 *
 * However, using the "zoundsReady()" is the safest way, as it will 
 * let Ajax know that involved Flex classes are available for use.
 */
function zoundsReady() {
	// Initialize the "root" object. This represents the actual 
	// "zounds.mxml" flex application.
	b_zounds_root = FABridge["b_zounds"].root();
	

	// Global variables in the "zounds.mxml" application (converted 
	// to getters and setters)

	// Global functions in the "zounds.mxml" application

	zounds.play = function(argInt, argString1, argString2, argString3, argString4, argBoolean, argString5) {
		b_zounds_root.play(argInt, argString1, argString2, argString3, argString4, argBoolean, argString5);
	};

}
function jarom(){
	alert('jarom');
}
