xboxscene.org forums

Author Topic: Actionscript Textbox Limited?  (Read 186 times)

vexx22

  • Archived User
  • Newbie
  • *
  • Posts: 42
Actionscript Textbox Limited?
« on: September 28, 2003, 06:51:00 AM »

i get it no help need anymore
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Actionscript Textbox Limited?
« Reply #1 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.
Logged