     private var skinStateIsDirty:Boolean = false;
 }
 
-}+}

            var skinPartID:String = event.property as String;
            if(skinParts[skinPartID] != null)
            {
                this[skinPartID] = event.newValue;
                
                if (!(this[skinPartID] is IFactory))
                    partAdded(skinPartID, this[skinPartID]);
            }
        }
    }

    {
        if (offstageHandler == null)
            offstageHandler = onstageHandler;

        // TODO (jszeto) Make marshall plan compliant
        if (systemManager)
        {
        	// For on-stage events
        	systemManager.removeEventListener(eventType, onstageHandler, true /*capture*/);
        	// For off-stage events
        	systemManager.stage.removeEventListener(eventType, offstageHandler);
        }
    }

    /**
