 		if (event is CollectionEvent)
         {
             var ce:CollectionEvent = CollectionEvent(event);
-            if (ce.kind == CollectionEventKind.mx_internal::EXPAND)
+            if (ce.kind == CollectionEventKind.EXPAND)
             {
             	event.stopImmediatePropagation();
             }

		if (event is CollectionEvent)
        {
            var ce:CollectionEvent = CollectionEvent(event);
            if (ce.kind == CollectionEventKind.mx_internal::EXPAND)
            {
            	event.stopImmediatePropagation();
            	updateLength();  

									children = treeData as XMLListCollection;
									if (parentNode)
									{
										children.dispatchResetEvent = false;
										children.source = parentNode.*;
									}
								}
