      *  Called when a part has been added. Override this function to attach
      *  behavior to the part.
      */
-    protected function partAdded(partName:String, instance:*):void
+    protected function partAdded(partName:String, instance:Object):void
     {   
     }
 

        if (skinChanged)
        {
            skinChanged = false;
            unloadSkin();
            loadSkin();
        }
        

     *  by this method, rather than directly calling newInstance() on the factory.
     *  This method creates the part, but does not add it to the display list.
     */
    protected function createPartInstance(partName:String):Object
    {
        var factory:IFactory = this[partName];
        
