Not too sure how useful this, but I am in the middle of doing a project whereby I am saving the XML from a Flash movie in a text file via Director. anyway, whilst playing with this I have found that you can get access to some of Flash's useful global functions like escape and unescape (and some not so useful ones such as isNaN) from Director.

gFlashGlobal.getVariable("_global",FALSE)
put gFlashGLobal.escape("<test>")
-- "%3Ctest%3E"

Like I said, not sure how useful or widely known this is, but handy for URLEncoding strings

cheers

Fraser

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to