J'arrive pas :D
Bon voila j'ai une page htm :
<html> <body> <form name="form1" method="POST" action="test.php"> <p> <input name="flashvar" type="text" id="flashvar"> </p> <p> <input type="submit" name="Submit" value="Envoyer"> </p> </form> </body> </html>
|
Une page PHP :
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Document sans titre</title> </head>
<body> <?php $mavar = $_POST['flashvar']; echo "flashvar=".$mavar ?> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="550" height="400"> <param name="movie" value="test.swf"> <param name="quality" value="high"> <embed src="test.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed> </object> </body> </html>
|
Et une animation avec :
Un texte dynamique ayant comme var flashvar
Et dans le code de la premiere image dans flash :
flashvar=loadVariables ("test.php", "", "POST)
Voila j'aimerai faire marcher ça ...
Merci
ICIoBRa