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 = ( &lt;![CDATA[<br/>
    Line 1<br/>
    Line 2<br/>
    Line 3<br/>
    ]]&gt; ).toString();
 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

4,505 Spam Comments Blocked so far by Spam Free Wordpress

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>