Filling up a textbox with text

Whe I try and fill up a textarea with multiline text I get an error.

1095: Syntax error: A string literal must be terminated before the line break.

This is because I have put in line breaks to make it more readable in my actions panel. I can add it a line at a time with

mytextBox.appendText ("this is line one ");
mytextBox.appendText ("this is line two ");

but I need a better way to import a load of text to my textbox.

Thanks.

I have a frame based animation which when finished. Dispatches an event to the maintimeline.

Is there a better/another way to determine if the animation is on the last frame (frame 20). it must contain a loop I suppose?

AK