 			if (index < tree.verticalScrollPosition ||
 				index >= tree.verticalScrollPosition + tree.rowCount)
 			{
-				accState |= STATE_SYSTEM_INVISIBLE;
+				accState |= AccConst.STATE_SYSTEM_INVISIBLE;
 			}
 			else
 			{
-				accState |= STATE_SYSTEM_SELECTABLE;
+				accState |= AccConst.STATE_SYSTEM_SELECTABLE;
 
 				var item:Object = getItemAt(index);
 
 				if (item && tree.dataDescriptor.isBranch(item, tree.dataProvider))
 				{
 					if (tree.isItemOpen(item))
-						accState |= STATE_SYSTEM_EXPANDED;
+						accState |= AccConst.STATE_SYSTEM_EXPANDED;
 					else
-						accState |= STATE_SYSTEM_COLLAPSED;
+						accState |= AccConst.STATE_SYSTEM_COLLAPSED;
 				}
 
 				var renderer:IListItemRenderer =
 					tree.itemToItemRenderer(item);
 
 				if (renderer != null && tree.isItemSelected(renderer.data))
-					accState |= STATE_SYSTEM_SELECTED | STATE_SYSTEM_FOCUSED;
+					accState |= AccConst.STATE_SYSTEM_SELECTED | AccConst.STATE_SYSTEM_FOCUSED;
 			}
 		}
 		return accState;


	//--------------------------------------------------------------------------
	//
	//  Class constants
	//
	//--------------------------------------------------------------------------

	/**
	 *  @private
	 *  Role of treeItem.
	 */
	private static const ROLE_SYSTEM_OUTLINEITEM:uint = 0x24; 

	/**
	 *  @private
	 */
	private static const STATE_SYSTEM_COLLAPSED:uint = 0x00000400;

	/**
	 *  @private
	 */
	private static const STATE_SYSTEM_EXPANDED:uint = 0x00000200;

	/**
	 *  @private
	 */
	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
	
	/**
	 *  @private
	 */
	private static const STATE_SYSTEM_INVISIBLE:uint = 0x00008000;
	
	/**
	 *  @private
	 */
	private static const STATE_SYSTEM_SELECTABLE:uint = 0x00200000;
	
	/**
	 *  @private
	 */
	private static const STATE_SYSTEM_SELECTED:uint = 0x00000002;
	
	/**
	 *  @private
	 */
	private static const EVENT_OBJECT_FOCUS:uint = 0x8005; 
	
	/**
	 *  @private
	 */
	private static const EVENT_OBJECT_SELECTION:uint = 0x8006; 
	
	/**
	 *  @private
	 */
	private static const EVENT_OBJECT_STATECHANGE:uint = 0x800A;

	//--------------------------------------------------------------------------
	//
	//  Class methods
	//
	//--------------------------------------------------------------------------

	{
		super(master);

		role = AccConst.ROLE_SYSTEM_OUTLINE;
	}

	//--------------------------------------------------------------------------
