line breaks in actionscript
line breaks in actionscript
- Started
- Last post
- 2 Responses
- sheepman
any way to do this?
have a long string of html dynamic text. ... tired of scrolling across to make edits.
- enjine0
yeah.
do this:var sampleText = "this is a really really really really really really really"
+ "long string with a return and a plus sign and a new string"
+ "and it makes one big long string"
+ "and don't forget to put the semicolon at the end of the last one";trace(sampleText);
will show you that although broken over lines, sampleText is still one long string.
- sheepman0
perfect. thank you.