Hey everybody,
I am loading a text into a dynamic textField and am assigning a textFormat to the variable.
The text is only changing the font but not the size and the color of the font! does anybody knows why?
Here is the code:
_root.createTextField(“News”,10,100,100,300,50);
News.variable=“NewsField”;
NewsTextFormat = new TextFormat();
NewsTextFormat.font=“Arial”;
NewsTextFormat.size=10;
NewsTextFormat.color=0x666666;
News.setNewTextFormat(NewsTextFormat);
News.html=true;
News.selectable=false;
News.autoSize=“left”;
News.multiline=true;
News.wordWrap=true;
loadVariables(“NewsField.txt”,"_root");