 		
 		override public function set maxHorizontalScrollPosition(value:Number):void
 		{
-			if (_scrollInvalid)
+			if (ObjectUtil.numericCompare(mx_internal::_maxHorizontalScrollPosition, value) != 0)
 			{
 				mx_internal::_maxHorizontalScrollPosition = value;
 				dispatchEvent(new Event("maxHorizontalScrollPositionChanged"));

	 */	
	public class CustomTree extends Tree
	{
		public function CustomTree(){
			super();
			horizontalScrollPolicy = ScrollPolicy.AUTO;
		}
		
		// we need to override maxHorizontalScrollPosition because setting

	import mx.controls.Tree;
	import mx.core.ScrollPolicy;
	import mx.core.mx_internal;
	import mx.utils.ObjectUtil;
	
	import weave.utils.EventUtils;
	
