//========================================================================================
//  
//  $File: //depot/shuksan/source/open/components/toolhintspanel/src/ToolHints.jsx $
//  
//  Owner: ???
//  
//  $Author: rgartlan $
//  
//  $DateTime: 2010/01/06 16:32:15 $
//  
//  $Revision: #9 $
//  
//  $Change: 735025 $
//  
//  Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
//  
//  NOTICE:  Adobe permits you to use, modify, and distribute this file in accordance 
//  with the terms of the Adobe license agreement accompanying it.  If you have received
//  this file from a source other than Adobe, then your use, modification, or 
//  distribution of it requires the prior written permission of Adobe.
//  
//  
//  ActionScript file
//  
//========================================================================================

function ExtendScript_init( initScript ) 
{
	try
	{
		return eval( unescape( initScript ) );
	} 
	catch( e )
	{
		alert( "Error (" + e.num + ") in file '" + e.fileName + "', line " +  e.line + ":\n" + e.message );
	}
}

function addListeners() 
{
	app.toolBoxTools.addEventListener( 'afterAttributeChanged', onAttrMsg );
}

function onAttrMsg(event)
{
	csxsapp.getToolInfo();   
}
	 
 
// called by the init() method in the SWF file
function registerAppObject(appObj) {
    csxsapp = appObj;
}

