      */
     protected function removeBehaviors():void
     {
-        skinObject.removeEventListener("idAssigned", skin_idAssignedHandler);
+        skinObject.removeEventListener(PropertyChangeEvent.PROPERTY_CHANGE, skin_propertyChangeHandler);
         
         // Declarative behaviors get removed here
     }

     * Called when a slot on the skin has been assigned a value. Deferred parts
     * may be instantiated long after the skin has been created.
     */
    private function skin_idAssignedHandler(event:PropertyChangeEvent):void
    {
        var className:String = getQualifiedClassName(this);
        var parts:Array = getSkinPartMetadata(className);

     */
    protected function attachBehaviors():void
    {
        skinObject.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, skin_propertyChangeHandler);
        
        // Declarative behaviors get attached here
    }
