line breaks in actionscript
line breaks in actionscript
Out of context: Reply #1
- Started
- Last post
- 2 Responses
- 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.