I have a movieclip that calls an array, but I want that array to be output on multiple lines in the movie. How do I break up an array in such a way that it is output with the equivalent of line breaks?
for example, if an array is defined like this:
phrase = new Array();
thewords=“this is line 1 text, this is line 2 text, but it’s all going to be on the same line”;
When the movieclip pulls in the chunks of that array it sticks them all on one line. Is it possible to include some element in the code above to split the elements of the array onto multiple lines when it’s output? Is there an equivalent to perl’s “/n” which prints a line break, for example? I’d prefer that option than having to create multiple arrays and reengineer the entire function. Thanks.