xboxscene.org forums

OG Xbox Forums => Official MediaXMenu (MXM) Forum => Dashboard Forums => MXM ActionScripting Forum => Topic started by: vexx22 on September 28, 2003, 06:51:00 AM

Title: Actionscript Textbox Limited?
Post by: vexx22 on September 28, 2003, 06:51:00 AM
i get it no help need anymore
Title: Actionscript Textbox Limited?
Post by: BenJeremy on September 28, 2003, 09:36:00 AM
CODE

MessageBox This is my message


It's actually 4 arguments...

This:
CODE

MessageBox "This is my message"


Is one argument, and MessageBox will work. Environment variables and "specials" ($eol$, $lt$, and $gt$) are converted AFTER the ActionScript interpreter has read the argument:

CODE

MessageBox "This is line one$eol$This is line two"


Is read as:
CODE

This is line one
This is line two


The "EOL" or End-of-line "special" is replaced by a carraige-return line-feed sequence and the quotes, of course, are not passed to the MessageBox command.