0

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 alt text

and when I build it I get this alt text but then when I put it in the web i get this alt 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;    
    }
mcgrailm
  • 17,469
  • 22
  • 83
  • 129
  • 1
    I suspect it is working fine & that adobe player might be preventing the full error to be generated as per it's settings in the client side. – loxxy Jan 14 '11 at 14:30
  • how would the player settings affect the text box behavior – mcgrailm Jan 14 '11 at 14:41
  • 1
    I think he means that you don't get the full length of the message's text. To check that you can test with your own text, and do not rely on the error generated. – goliatone Jan 14 '11 at 15:00
  • that seems to be it I can put my own text in it works fine so its like only half the error is showing is there a way to make the full error show – mcgrailm Jan 14 '11 at 15:06
  • then you should try testing with different player versions – goliatone Jan 19 '11 at 14:19

2 Answers2

0

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.

Capndan
  • 31
  • 3
0

Quick guess, set the line behavior type to multiline

goliatone
  • 2,183
  • 16
  • 29