Hi there…
trying to build a Textfield dynamically in AS2/F8. I can’t seem to get the text size to be larger than 127, and I am wondering if there is an upper limit when building them in AS.
I have a class that has the following static method, which works well (for any size less than 127 apparently) If I pass in 200 as my nSize arg, when I trace(t.getTextFormat(0,1).size) i get 127 every time.
public static function makeTextbox(target, clipName, depth, w,h,fontSymbol, nColor,nSize,txValue){
var t = target.createTextField(clipName+"-tx",depth,0,0,w,h);
t.type="dynamic";
t.embedFonts=true;
var fmt:TextFormat = new TextFormat();
with (fmt) {
font=fontSymbol;
color=nColor;
size=nSize;
}
t.setNewTextFormat(fmt);
t.text=txValue;
return(t);
}
Any thoughts or is there a hidden rule I don’t know about here?