Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
are you adding the returns in the strings panel or in an xml file?
Copy link to clipboard
Copied
I have tried both.
Thanks for the response
Copy link to clipboard
Copied
make sure your textfield is multiline.
if that doesn't fix the problem, exactly what is the problem?
Copy link to clipboard
Copied
I can't get it to give me a single line feed (\f) or a new line like many text editors that only give a single line from a Enter/Return key press in the Strings Panel. Same for the raw XML file. It is always 2 line feeds.
I am just trying to set line breaks.
Thanks again.
Copy link to clipboard
Copied
i don't see a problem.
do you see a different leading when using a carriage return in the strings panel vs when typing text with a carriage return directly into a dynamic textfield?
Copy link to clipboard
Copied
OK - this is modal. I was linking the text directly using commands only. I was not forcing the link to the text field by Applying the String Panel cell data (XML).
You would think the CS5 would honor the \f etc. in the raw XML text data.
Thanks Kglad
Copy link to clipboard
Copied
you're welcome.
p.s. please mark helpful/correct responses, if there are any.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now