     {
         return _hasRoot;
     }
-    
+
     //----------------------------------
     //  keyEquivalentField
     //----------------------------------


    /**
     *  The function that determines the mnemonic index for each menu item.
     * 
     *  If you omit this property, Flex uses the contents of the field or
     *  attribute specified by the <code>mnemonicIndexField</code> property.
     *  If you specify this property, Flex ignores any <code>mnemonicIndexField</code>
     *  property value.
     *
     *  If this returns a number greater than zero, this mnemonic index 
     *  takes precedence over the one specified by an underscore in the label.
     * 
     *  The <code>mnemonicIndexFunction</code> property is good for handling formatting, 
     *  localization, and platform independence.
     *
     *  <p>The mnemonic index function must take a single argument which is the item
     *  in the data provider and return an int.</p>
     *  <pre>
     *  <code>myMnemonicIndexFunction(item:Object):int</code> </pre>
     *
     *  @default "undefined"
     */

        {
            _mnemonicIndexField = value;
            mnemonicIndexFieldChanged = true;

            invalidateProperties();

            dispatchEvent(new Event("mnemonicIndexFieldChanged"));
        }
    }
