PDA

View Full Version : Paragraph coding


numpty
04-08-2003, 01:49 PM
I followed one of the tutorials on this site for a scrolling text box. Fantastic! Even a numpty like me managed to make it work! HOWEVER, I need the text to have paragraph break in it and whenever I insert the HTML code into the actionscript it produces an error when I test the movie. If I put a normal paragraph break in (ie. hit the return key) it comes up with an error saying ; was expected.

Now I KNOW all you clever whiz kids out there will be able to help me with this one! How do I put the paragraph break in, what is the correct AS code for same?

Cheers guys, confident in your help here!!!;)

Billy T
04-08-2003, 01:59 PM
well it depends on how you are inserting the text into the textbox

you should be able to just put <br> amongst the text

make sure the text box has html enabled

if that doesnt work try

+newline

cheers

numpty
04-08-2003, 02:18 PM
Yippee!!!!!!! Thanks Billy T - knew you guys could help me. Cheers