Dynamic Text Help!

K, so I’m having trouble with this dynamic text movie I found online.

The movie or script whatever you call it allows you to fill out a form on one flash movie then it displays the text in the other movie. I thought it was going to be easy adding a few variables and what not but, I’ts alot harder than it seems at least for me. :frowning:

If anyone can help me I would really appreciate it.

I have attached both versions of the movies and files, the original and the ones I modified. Below is a quick summary of the changes I made:

I added another txt field with the variable name “eventText” to the movie “flashwrite”

I added another txt field with the varilable name “_root.enventText” to the movie “flashread”

I added the line “eventText=Event testing 1234” to the “data.txt” file so it reads:
enterText=Testing 123
eventText=Event testing 1234

I added “$text = $_POST[‘eventText’];” line to the to the “form.php” file so it reads:

//Kyle M. Brown
//[email protected]
//Turn off all Notice reporting only
error_reporting(E_ALL ^ E_NOTICE);
//Processing message
echo ‘Processing data’;
//This code is used to write to a text file
$text = $_POST[‘enterText’];
$text = $_POST[‘eventText’];
/Check for null text from flashwrite.swf form. Error checking handled in flashwrite.swf and this code is not needed
if (!$text)
echo ‘Form was empty, please go back and complete the form or you will be redirected in 2 seconds.’;
echo “<meta http-equiv=‘refresh’ CONTENT=‘3; URL= flashwrite.htm’>”;
// Open the file and erase the contents if any
$fp = fopen(“data.txt”, “w”);
// Write the data to the file
fwrite($fp, $text);
if (!fwrite)
echo ‘Error: could not write to text file’;
} else {
//redirect to read.php
//header(“location: read.php”);
echo “<meta http-equiv=‘refresh’ CONTENT=‘1; URL= flashread.html’>”;
// Close the file