-
Hello,
I am wanting to load a .txt file from my website based on the number I input in a text field in flash.
[ text field ]
[ Button ]
[ File.txt ]
I want to put a number in the text field push a button, and flash load the url of the text file.
Example: TextField & Data-->[ 1 ]
http://www.4mstudios.com/file_1.txt
Is this possible?
Thank You SO Much.
-
Hi Psycho
It should be possible.
In frame one set up your variables thus:
text1= "http://www.serveraddress.com/text1.txt";
text2= "http://www.serveraddress.com/text2.txt";
text3= "http://www.serveraddress.com/text3.txt";
Then in the button actions set the action to:
on (release) {
loadVariablesNum(text1,0);
}
Where textNUMBER is the text file you wish to load (text1 in this example), and 0 is the level to load it.
Hope this helps. Get back if you need further assistance.
Egg
-
I've set up a very rough and ready example but a bit more sophisticated than the above here
Egg
-