Annoying extra N/L in Dynamic Text

Hi,

I have a working flash movie with an ASP page that retrieves text from a database and displays it in a dynamic text box.

The only problem is that if i have a newline in the text, flash seems to put two newlines.

Is this a bug or a setting that needs to be made in order to rectify this?

I had originally used html code so the html setting is set for the textbox. This isn’t strictly needed now but would this be the cause?

regards,

FM

mark in the dynamic text’s properties “use html code” and text you want to write in it convert to html code eg.

instead of
“once upon a time…blah…
and they were living…”
write
“once upon a time…blah…<br>and they were living…”

but don’t use any “ENTERS”!!!
cuz flash interprets them as a double extraline

Aha…

That explains it, thanks.

does that mean if you want an automatic wrap for a very long sentence you’ll have to write the whole sentence in one single line?

I found that if I do this in the ASP page which retrieves the data and sends it to the flash movie…

PageText = Replace(PageText, vbcrlf, “<br>”)

The problem disappears.

Now if you have one ‘enter’ in your text Flash shows one ‘enter’ and not two.

(Took me ages to work out how to write this <br>)

mlk - yes