How to load variable from php in flashMX

Hi, I would like to know how to simply load a variable into a dynamic text field. A detail explanation would be much appreciated. Here is an example php file.

<? php
$name = “myname”;

$vars.= “$name”;

print $vars ;


How do I display $vars in my flash movie. I know the basics which is to create a dynamic text box and assign the instance “vars”. The question now is how to let flash read it if lets say my php file name is test.php.
Thanks :).