actionscript dynamic text
I have a text box set up in my project and it works fine when I test it but when I put it in the web page it only shows part of the text
here is the setup
and when I build it I get this
but then when I put 开发者_StackOverflow社区it in the web i get thisi've tried using both embedding and using device font without success anyone have an idea what I might be doing wrong ?
EDIT here are the only calls to text box in acitonscript
function onLoaded(e:Event):void{
try{
//try to stuff
} catch(error:TypeError) {
error_txt.text = error.toString();
}
}
function ioError(e:IOErrorEvent):void {
error_txt.text = e.text;
}
What is the code you are using for setting the text? Since in the actual page 'Error #2124' is centered over the loading symbol, it looks to me like either that is the only text that actually ends up in error_txt OR the dynamic text's width and height are being changed so that 'Error #2124' is all that fits.
Quick guess, set the line behavior type to multiline
精彩评论