Hi, List!
I am trying to implement a simple example located at:

file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/F
lash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV3/flash/text/
TextFormat.html

(see bottom of a page)

Nothing seems to be working within package :(

Posting to frame
var label:TextField = new TextField();
label.autoSize = TextFieldAutoSize.LEFT;
label.background = true;
label.border = true;

var format:TextFormat = new TextFormat();
format.font = "Verdana";
format.color = 0xFF0000;
format.size = 10;
format.underline = true;

label.defaultTextFormat = format;
addChild(label);
label.text = "Some text"

works just great!
Am I missing something?

Thanks in advice.



_______________________________________________
Flashcoders@chattyfig.figleaf.com
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