Multi line strings in Actionscript 3
A useful feature of C# is to be able to precede a string with the @ character so that it can span multiple lines. Here’s an example of the equivalent in actionscript 3.
var thisIsALongString:String = ( <![CDATA[<br/>
Line 1<br/>
Line 2<br/>
Line 3<br/>
]]> ).toString();
-
Calendar
May 2012 M T W T F S S « Mar 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta





