开发者

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

actionscript dynamic text

and when I build it I get this

actionscript dynamic text

but then when I put 开发者_StackOverflow社区it in the web i get this

actionscript dynamic text

i'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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜