Skip to main content
Participant
August 7, 2007
Answered

remove paragraph returns

  • August 7, 2007
  • 1 reply
  • 181 views
Hello,
is there a trick to do the following:
I paste text from a .txt file into AS3 but you have to remove the paragraph returns. I'm a bit confused by this, how can you be sure you did this right??
If the text isn't formatted correctly, the swf is flickering on the screen when testing the flashmovie.
Sure you can try over and over again but it's a serious nerve-testing job :-)

All advice is welcome,thanks.
This topic has been closed for replies.
Correct answer silkyjack
No reactions?!? Well, here's the solution.
Actionscript(Flash) has to see a paragraph as one line.
You may have seven or ten lines in a paragraph but to Flash it has to be one line.
Otherwise your movie flickers all over the screen.

I'm not an experienced Actionscripter but hey.. I learn everyday.
I hope this can be of use to other starting programmers.

1 reply

silkyjackAuthorCorrect answer
Participant
August 7, 2007
No reactions?!? Well, here's the solution.
Actionscript(Flash) has to see a paragraph as one line.
You may have seven or ten lines in a paragraph but to Flash it has to be one line.
Otherwise your movie flickers all over the screen.

I'm not an experienced Actionscripter but hey.. I learn everyday.
I hope this can be of use to other starting programmers.