André Michelle schrieb:
Mit ging es hauptsächlich darum, das im Constructor zu erledigen.
ok, dann hätte man das wohl so regeln können: //---------------------------------------- CSS = { navigation: { Header: function () { this.__proto__ = new TextFormat(); super(); this.color = 0xffcc00; this.size = 24; this.font = "Verdana"; }, Subs: function () { this.__proto__ = new TextFormat(); super(); this.color = 0xffcc00; this.size = 10; this.font = "Verdana"; } } }
this.createTextField( "test" , 1 , 0 , 0 , 200 , 30 ); a = new CSS.navigation.Header(); this.test.setNewTextFormat ( a ); this.test.text = "hallo"; //----------------------------------------
ich dachte du wolltest flash7 überspringen? :-)Beim nächsten Projekt ist vieleicht schon Flash7 dabei. Dann sollte das ja alles kein Problem mehr sein.
gruß michael
------------------------------------------------------ Archiv : //www.freelists.org/archives/ascoders/ Optionen : //www.freelists.org/list/ascoders ------------------------------------------------------