;

PDA

Click to See Complete Forum and Search --> : retreving content of a .txt file and displaying it


WiZzkid
07-26-2005, 06:58 AM
ok heres what im trying to do, i would like my application to get the contents of http://www.radioactivegames.co.uk/varflashdata/infotest.txt and display it in an editbox.

my editbox is the variable "infodisplay"

here's the script:
infodisplay=loadVariables ("http://www.radioactivegames.co.uk/varflashdata/infotest.txt",GET);

but it wont work helpppppp!!

thx
Andy

blanius
07-26-2005, 07:02 AM
you must format the text as a variable.

if you can access the text just add &infodisplay= to the font of your text.

If you cannot do that use server script to send it that way. I.E. in PHP you could load the file and prepend the &infodisplay= and echo it back.

WiZzkid
07-26-2005, 07:06 AM
yep i have access to it thx blanius :)

WiZzkid
07-26-2005, 07:14 AM
hmm its still not working??? http://www.radioactivegames.co.uk/varflashdata/movie_6.swf

source
http://www.radioactivegames.co.uk/varflashdata/Movie%206.movie

EDIT:
got it working blanius was right i just forgot to remove something :)