I have a web page (home.php) that is receiving parameters via POST from a calling url. On home.php is an embedded swf file that has a "continue" button that needs to call another url with the POSTED parameters.
1. What code (html or php PLEASE???) do I need to play the swf on home.php so it can pass the variables?
2. What is the actionscript code on the button within the swf to call the url nextpage.php with the variables - I don't care if they go in the url as
or some other way where nextpage.php has to fetch them with a POST
I have it coded to use a button outside the swf file, but my boss is very unhappy about it - he wants it to work from a button within the swf - and after all, he is the boss.
I will be eternally grateful if someone could spell this out for me, and promise to pay it forward when the opportunity arises. Many thanks.
$name = $_POST['name'];
$email = $_POST['from'];
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="890" height="500" >
<param name=movie value="EZHAP_test.swf" />
<param name=quality value=high />
<param name=bgcolor value=#8b9fa0/>
<embed src="EZHAP_test.swf" quality=high bgcolor=#8b9fa0 width="890" height="500" swLiveConnect=true id="about" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
<form accept-charset="UTF-8" action="nextpage..php" method="post" >
<input type="hidden" name="name" value="<?php echo $name?>" />
<input type="hidden" name="email" value="<?php echo $email?>" />
<input name="submit" type="image" src="images/button_continue.jpg" >