      *
      *  @param italic A flag which is true if the font style is italic,
      *  and false otherwise.
-     * 
+     *
      *  @return The IFlexModuleFactory that represents the context
      *  where an object wanting to  use the font should be created.
      */

     *  A reference to the parent document object for this UIComponent.
     *  A document object is a UIComponent at the top of the hierarchy
     *  of a Flex application, MXML component, or AS component.
     *  For the Application object, the <code>parentDocument</code> 
     *  property is null.
     *  This property  is useful in MXML scripts to go up a level
     *  in the chain of document objects.

    private function getBaseStates(state:State):Array
    {
        var baseStates:Array = [];

        // Push each basedOn name
        while (state && state.basedOn)
        {
