Jesus, this took me a bazillion hours to figure out.
$str = <<
and then my variable would contain the multi-line string with line breaks and all. Sweet, that's what I wanted to do. Turns out AS3 doesn't support heredoc syntax. So that sucks.
You can use the same method in Actionscript 3. So your AS code would look like:
private var myString:String = (
It's easier in MXML, in that case all you need to do is something like:
So that's how you simulate the heredoc syntax in AS3.