Hello List,
Very basic question.
Basically I created a new font in my flash library and put this code in the timeline.

this.createTextField("mytext", this.getNextHighestDepth(), 10, 100, 300, 200);
mytext.multiline = false;

mytext.type = "input";
mytext.embedFonts = true;
mytext.restrict = "1,2,3,4,5,6,7,8,9,0";
mytext.border = true;
mytext.maxChars = 8;

var format1:TextFormat = new TextFormat();
format1.letterSpacing = 2;
format1.font = "HelveticaNeue";


mytext.text = " ";
mytext.setTextFormat(format1);

my question is, this code works fine, creates a textfield and I can type numbers in that textfield without problems. Only problem is I do have a space in the textfield. So when I go ahead and change the line to mytext.text = ""; now it doesn't have any space at all. but flash doesn't allow me to type anything on the text field.

Can someone confirm this for me? Please?

best,
ilteris



_______________________________________________
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