Here-document in AS3.0

Here-document is not implemented in AS3... But we can realize it using E4X and CDATA section!!

    var s:String = <><![CDATA[bar
foo
<p class="test">Any text here</p>

Ohhhhhhh!!!!!
]]></>;

    trace(s);
/* 
bar
foo
<p class="test">Any text here</p>

Ohhhhhhh!!!!!
*/

You don't have to escape " and \ in the here-document.