Try this:
Make a new FLash movie called "myflash.fla"
Make a dynamic text box on frame 20 and label it "txt". Also, put a stop action.
On frame 1, put a loadVariables action that calls "myfile.php". Also, set that action to not send any variables.
Export the movie with HTML mounting file.
Next, write a PHP file called, "myfile.php".
In it type this:
<?php
$TextString="This is the text!";
echo "&txt=".$TextString;
?>
Place all the three files you now have (myflash.html, myflash.swf, and myfile.php) into a working virtual directory of your site. load up the HTmL file and VWALA! You should see "This is the text!" in you Flash movie.
See, you all you need is a URL encoded string in a text file with variables which match the dynamic text fields in Flash. It ends up looking like this:
&var1=var1_stuff&var2=var2_stuff&var3=...etc..
Make sure to append an ampersand "&" at the begining of your string otherwise, Flash may not do what you expect...Also, make sure PHP only outputs text, no HTML tags, etc...
This works for ASP, JSP, CF, or any other programming language that can be called and will output a text file.
hope this helps! If anything is "off" let me know!
-j