[ascoders] =?ISO-8859-1?Q?Re:_[ascoders]_Re:_Klasse_an_BühnenCLip_heften?Date: Tue, 17 Feb 2004 10:03:16 +0100

  • From: volker Kreß <kress@xxxxxxxxxx>
  • To: ascoders@xxxxxxxxxxxxx

Hallo Andre,

ich denke das sollte so gehen


Character = function(){


}
Character.prototype = new MovieClip();

Character.prototype.onPress = function(){
        trace("JETZT CHARACTER CLASS")        
}


MovieClip.prototype.registerOnStage = function(newClass){ this.__proto__ = newClass.prototype }


Spielfigur.registerOnStage(Character)



Grüße Volker

------------------------------------------------------
Archiv   : //www.freelists.org/archives/ascoders/
Optionen : //www.freelists.org/list/ascoders
------------------------------------------------------

Other related posts:

  • » [ascoders] =?ISO-8859-1?Q?Re:_[ascoders]_Re:_Klasse_an_BühnenCLip_heften?Date: Tue, 17 Feb 2004 10:03:16 +0100