PHP and flash - not working..?

Hey there! :slight_smile:

I’m playing around with PHP and flash at the moment. And this is perhaps a silly question, but i’m trying to display ‘a part of the url’ in my flash movie (in a dynamic textfield).
It’s a rather simple setup, I’ve got my flash movie and two PHP documents (myMovie.php and test.php) - in my flash movie I’ve got a button and a dynamic textfield (with a var name of ‘cake’).
The following action is assigned to the button:

on (release) {
	loadVariablesNum ("test.php", "0", "Post");

The test.php looks like this:


include "MyTest.php";

print "_root.cake=$showit";


myMovie.php contains my flash movie and the following PHP code:

$showit = $id;

The idea is, that when typing the URL like this: myMovie.php?id=hello, and then pressing the button, the textfield should show ‘hallo’ - BUT, it’s not working, and it’s probably because I don’t know enough about PHP (and flash for that matter…) :frowning:

Could someone please point me in the right direction - any help would be nice… :slight_smile: