Thread: text files
View Single Post
Old 21-01-2004, 12:13   #10 (permalink)
flatcat
Balinese Buddah Sensei
 
flatcat's Avatar
 
Join Date: Jul 2003
Location: Vancouver, British Columbia
Posts: 764
Send a message via MSN to flatcat Send a message via Skype™ to flatcat
Text Files

_root.loadVariables("yourTextFile.txt");

put that in one of your frames and that will load your text file to your flash movie

you can load different variables into flash by separating with an & sign, for example:

myName=David Ronnie&myWebSite=http://www.theflattestcat.com

you can do this as many times as you like, just making sure that you place an & before the next variable name you like as that is how flash interprets a new variable name, then all you do to call it is go:

_root.myName or _root.myWebSite
__________________
audentes fortuna iuvat
Flatcat
  Reply With Quote