Thread: text files
View Single Post
Old 22-01-2004, 11:29   #13 (permalink)
flatcat
beauty through chaos
 
flatcat's Avatar
 
Join Date: Jul 2003
Location: Vancouver, British Columbia
Posts: 773
Quote:
Originally Posted by Brown
until you're working with a dynamic site where you're passing queries within the url - then you'll have to load xml not txt.

Quote:
Originally Posted by flatcat
_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


Indeed, but he asked about passing values through a text file
__________________
audentes fortuna iuvat
Flatcat
  Reply With Quote