PDA

View Full Version : [F5] Something basic about setting out actionscript code.



rainbowpants
February 19th, 2003, 11:02 AM
Hi, im writing a flash website for my fizzgeeks project, and I have a really large string variable that im using for a scrolling text box. I'm not too familiar with actionscript, and I was wondering if there is a continuation symbol, so i can split the string over several lines. Its so large, that for some reason, it doesn't appear in the actionscript editor, although its still there :*(

thanks for any help anyone can offer.

Marz
February 19th, 2003, 12:09 PM
A continuation symbol eh? For strings it would be a simple + sign..

newstring = "Hello my name is marlin and" +
"I am a robotic turd wiper." +
"If you have anymore questions...." +
"Please try again at another time.";

Just like that man... :)

rainbowpants
February 19th, 2003, 12:20 PM
thanksq! that works purrrrfect.