text.multiline = true;
text.wordWrap = true;

put that before your text,,,,,, atleast i think thats the right function

I dont think you need both of those,,, just one, I dont remember which...