Pass a post variable into Flash

How can I pass a Form post variable into Flash?

This might help you:
http://www.macromedia.com/support/flash/ts/documents/set_variables.htm#javascripthttp://www.macromedia.com/support/flash/ts/documents/set_variables.htm#javascript

I think you should read the tutorials about PHP and Flash.

http://www.kirupa.com/developer/actionscript/asandphp.htm

There are also other tutorials here that you can learn about dynamic data in Flash using PHP and MySQL.

Cheers!

:slight_smile:

Thanks guys but I got it figured out.

ComicGeek, that PHP tutorial does me no good because we use ASP on our servers but thanks anyways.

What I did to get it to work was when I embed my movie into my web page I do this.


src="moviename.swf?postVar=<%=Request("postVar")%>"

What that does in ASP is look for a post variable called postVar and pass that along into the flash file.

Pretty cool stuff.