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[

Line 1

Line 2

Line 3

]]> ).toString();

 

Leave a Reply

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

*

* Copy this password:

* Type or paste password here:

2,918 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>