PDA

View Full Version : HTML button/link to POST vars to Flash?


Head In A Pan
06-17-2007, 02:08 AM
Hello!

Here is something I assume is relatively simple but have never bothered to find out -
I'm not finding the answer anywhere!

All I am trying to do is this:

Have a thumbnail image acting as a button - sitting on my HTML page.

When the user clicks it, the button uses the POST method to send a specified variable.

I think I can handle the variable from there using javascript - which will talk to my embedded swf.

Can anyone point me in the right direction? :)

Cota
06-18-2007, 06:54 PM
You can use the externalInterface to get the querystring.

http://actionscript.org/forums/showthread.php3?p=561688