Skip to main content
Inspiring
December 28, 2012
Question

StringPanel XML Text w/ Carriage Returns/LineFeeds

  • December 28, 2012
  • 1 reply
  • 1456 views

Hi All,

I am trying to add a line break to XML String Panel text. I have CS5, AS2 and Player Ver. 8 set.

The text is Classic. The Font is MS Arial unicode.

The Text is in 15 languages including CJK.

I am trying to use \f, \n, and \r.  They are not working.

If I try to put a carriage return (Enter key) manually in the strings panel text, I get 2 lines. (not uncommon, but not expected there)

Do I use the \unnnn Unicode charter insertion or HTML codes or is it broken?

Thanks,

Jim Wiley

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 28, 2012

are you adding the returns in the strings panel or in an xml file?

Jim WileyAuthor
Inspiring
December 28, 2012

I have tried both.

Thanks for the response

kglad
Community Expert
Community Expert
December 28, 2012

make sure your textfield is multiline.

if that doesn't fix the problem, exactly what is the problem?