Maebius
09-05-2002, 03:30 PM
Greetings all!
I know it's cliche, but....I'm fairly new to Web design and Flash, and am attempting to create an interactive website for my home business.
As a trial/tutorial, I made a very simple *.FLA with three static text fields (as labels) and three dynamic text fields (for the variables).
I have a web-form that allows me to enter the text from the three fields (name, evolution, location) and it updates a small text file in the same directory.
The webform calls a simple PHP script which *DOES* update the text file in the format:
&NAME=Nate
&EVOLUTION=42
&LOCATION=Limbo
Within the Flash script, there is only a single frame with the acrionscript:
loadVariablesNum ("test.txt", 0, "GET");
The problem, is that when I run the flash file online, it does not list the variable output. When I download the text file to my local hard-drive, and run the SWF file, it shows the data nicely.
If anyone is interested, take a peek at the following URL, wherre you can see the files I'm speaking about.
www.everthorn.net\Pond\data\
The initial web-form is filetest1.html
The webpage that holds the Flash is filetest.html
Everything else should be obvious.
I know it's cliche, but....I'm fairly new to Web design and Flash, and am attempting to create an interactive website for my home business.
As a trial/tutorial, I made a very simple *.FLA with three static text fields (as labels) and three dynamic text fields (for the variables).
I have a web-form that allows me to enter the text from the three fields (name, evolution, location) and it updates a small text file in the same directory.
The webform calls a simple PHP script which *DOES* update the text file in the format:
&NAME=Nate
&EVOLUTION=42
&LOCATION=Limbo
Within the Flash script, there is only a single frame with the acrionscript:
loadVariablesNum ("test.txt", 0, "GET");
The problem, is that when I run the flash file online, it does not list the variable output. When I download the text file to my local hard-drive, and run the SWF file, it shows the data nicely.
If anyone is interested, take a peek at the following URL, wherre you can see the files I'm speaking about.
www.everthorn.net\Pond\data\
The initial web-form is filetest1.html
The webpage that holds the Flash is filetest.html
Everything else should be obvious.