PDA

View Full Version : Transfering Variables from PHP to Window Component...?


ghettoo
09-27-2004, 11:33 AM
I have a window component that I have created using actionscript

winLogin.createPopUp();

I want to send a variable from php to the flash movie, and display it in a textbox that is in another movie which the window component has loaded.

movie1.swf <--- loads the the variable from php
movie2.swf <--- the movie loaded in the window component, in movie1.swf

How would I transfer the variable to movie2.swf from movie1.swf.

I have tried these methods;

txtLabel.text = phpConnected;
txtLabel.text = _root.phpConnect;
txtLabel.text = this.phpConnect;

The txtLabel is in the movie2.swf.

Can any of you actionscriptor's sovle this problem, I would very thankfull.

thnx
ghettoo