[ascoders] Re: CSS in Flash6

  • From: Michael Kneib <listen@xxxxxxxxx>
  • To: ascoders@xxxxxxxxxxxxx
  • Date: Fri, 14 Nov 2003 00:30:49 +0100

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";
//----------------------------------------


Beim nächsten Projekt ist vieleicht schon Flash7 dabei. Dann
sollte das ja alles kein Problem mehr sein.



ich dachte du wolltest flash7 überspringen? :-)



gruß
michael

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

Other related posts: