     {
         // Element is false if it was a simple type and didn't survive the 
         // casting as an object
-        if (!element || element["enabled"] == undefined || element["enabled"] == true)
-            return true;
+        try
+        {
+            if (!element || element["enabled"] == undefined || element["enabled"] == true)
+                return true;
+        }
+        catch (e:Error)
+        {
+            
+        }
        
         
         return false;

            normalizeScrollPosition(verticalScrollPosition) : 
            verticalScrollPosition;
		
        var itemIndex:int = 0;
        var yPos:Number = 0;
        
        var foundLastVisibleElement:Boolean = false;
        var numVisibleElements:int = 0;
        var numVisitedElements:int = 0;
        
        // Translate the vsp to the item index
        if (wrapElements)
        {
            itemIndex = Math.floor(scrollPosition / rowHeight);
            // The top item might only be partially visible. 
            yPos = -(scrollPosition % rowHeight);
        }
        else
        {
            // If wrapElements == false, then start at the first index
            // TODO (jszeto) Fix bug. Need to start at first visible index
            yPos = -scrollPosition;
        }			
        
        // Start at the top index

import mx.core.IVisualElement;
import mx.core.mx_internal;

import spark.components.SpinnerList;
import spark.components.supportClasses.GroupBase;
import spark.core.NavigationUnit;

