             return;
         }
 
-		var type:String = dataDescriptor.getType(data).toLowerCase();
-		var isSeparator:Boolean = (type == "separator");
-		
-		// label changes later, but separator is read-only so need to know here
-		var nativeMenuItem:NativeMenuItem = new NativeMenuItem("", isSeparator);
-		
-		if (!isSeparator)
-		{
-			// enabled
-			nativeMenuItem.enabled = dataDescriptor.isEnabled(data);
-			
-			// checked
-			nativeMenuItem.checked = type == "check" && dataDescriptor.isToggled(data);
-			
-			// data
-			nativeMenuItem.data = dataDescriptor.getData(data, mx_internal::_rootModel);
-			
-			// key equivalent
-			nativeMenuItem.keyEquivalent = itemToKeyEquivalent(data);
-			
-			// key equivalent modifiers
-			nativeMenuItem.keyEquivalentModifiers = itemToKeyEquivalentModifiers(data);
-			
-			// label and mnemonic index
-			var labelData:String = itemToLabel(data);
-			var mnemonicIndex:int = itemToMnemonicIndex(data);
-			
-			if (mnemonicIndex >= 0)
-			{
-				nativeMenuItem.label = parseLabelToString(labelData);
-				nativeMenuItem.mnemonicIndex = mnemonicIndex;
-			}
-			else
-			{
-				nativeMenuItem.label = parseLabelToString(labelData);
-				nativeMenuItem.mnemonicIndex = parseLabelToMnemonicIndex(labelData);
-			}
-			
-			// event listeners
-			nativeMenuItem.addEventListener(flash.events.Event.SELECT, itemSelectHandler, false, 0, true);
-			
-			// recursive
-			if (dataDescriptor.isBranch(data, mx_internal::_rootModel) &&
-				dataDescriptor.hasChildren(data, mx_internal::_rootModel))
-			{
-				nativeMenuItem.submenu = createMenu();
-				populateMenu(nativeMenuItem.submenu,
-					dataDescriptor.getChildren(data, mx_internal::_rootModel));
-			}
-		}
-		
-		// done!
-		menu.addItem(nativeMenuItem);
+        var type:String = dataDescriptor.getType(data).toLowerCase();
+        var isSeparator:Boolean = (type == "separator");
+        
+        // label changes later, but separator is read-only so need to know here
+        var nativeMenuItem:NativeMenuItem = new NativeMenuItem("", isSeparator);
+        
+        if (!isSeparator)
+        {
+            // enabled
+            nativeMenuItem.enabled = dataDescriptor.isEnabled(data);
+            
+            // checked
+            nativeMenuItem.checked = type == "check" && dataDescriptor.isToggled(data);
+            
+            // data
+            nativeMenuItem.data = dataDescriptor.getData(data, mx_internal::_rootModel);
+            
+            // key equivalent
+            nativeMenuItem.keyEquivalent = itemToKeyEquivalent(data);
+            
+            // key equivalent modifiers
+            nativeMenuItem.keyEquivalentModifiers = itemToKeyEquivalentModifiers(data);
+            
+            // label and mnemonic index
+            var labelData:String = itemToLabel(data);
+            var mnemonicIndex:int = itemToMnemonicIndex(data);
+            
+            if (mnemonicIndex >= 0)
+            {
+                nativeMenuItem.label = parseLabelToString(labelData);
+                nativeMenuItem.mnemonicIndex = mnemonicIndex;
+            }
+            else
+            {
+                nativeMenuItem.label = parseLabelToString(labelData);
+                nativeMenuItem.mnemonicIndex = parseLabelToMnemonicIndex(labelData);
+            }
+            
+            // event listeners
+            nativeMenuItem.addEventListener(flash.events.Event.SELECT, itemSelectHandler, false, 0, true);
+            
+            // recursive
+            if (dataDescriptor.isBranch(data, mx_internal::_rootModel) &&
+                dataDescriptor.hasChildren(data, mx_internal::_rootModel))
+            {
+                nativeMenuItem.submenu = createMenu();
+                populateMenu(nativeMenuItem.submenu,
+                    dataDescriptor.getChildren(data, mx_internal::_rootModel));
+            }
+        }
+        
+        // done!
+        menu.addItem(nativeMenuItem);
     }
 
     /**

    //  keyEquivalentField
    //----------------------------------

	/**
     *  @private
     */
    private var keyEquivalentFieldChanged:Boolean = false;


    /**
     *  Returns the String to use as the menu item label for the given data
     *  object, based on the <code>labelField</code> and <code>labelFunction</code>
     *  properties.
     *  If the method cannot convert the parameter to a String, it returns a
     *  single space.
     *
