Hey folks,

Im trying to learn how to set a TextField on the stage dynamically with ActionScript 3

something like

public function addText(txtname:String, txt:String, X:int, Y:int, format:TextFormat):void {
       //using array notation for a new variable does NOT WORK
       var [txtname]:TextField = new TextField();

       ....
}

cheers!


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to