xternal flash files

  • Started
  • Last post
  • 0 Responses
  • Mick

    Does anyone know how to strip newline characters from a loaded external flash file?

    A quote from Actionscript.org...
    Another parsing example I mentioned above related to the issue of newlines. Recall that if you have carriage returns and newlines in your text file, they will be loaded into Flash as part of the variable they follow. While this isn't really desired, we also don't want our text file to be completely illegible, so you can create a function which goes through looking for newline characters at the end of a loaded String and strips them off.

    I'm basically trying to figure out how to do what is recommended above to strip out all the newline characters that are loaded into my flash movie.