I am trying to use a cookie script which I got from:
http://www.dynamicdrive.com/dynamici...mremember2.htm
And I am trying to use it on this page:
http://moddedmen.110mb.com/stats/index.php
I have already gotten it to write the cookie and recall it when it goes back to the page after pressing "Get Stats." However, what I want to know is how to get it to recall the value you entered in the flash part of the page. Here is the script of the page and I put "WHAT GOES HERE?" where I want the script to recall the value (ex: if you enter MM xSkillz in the Gamertag: part and click get stats it would replace "WHAT GOES HERE?" with my MM xSkillz)
Code:<HTML xmlns="http://www.w3.org/1999/xhtml"> <HEAD> <script type="text/javascript" src="formretain2.js"> /*********************************************** * Recall Form Values script II- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ </script> <TITLE>Stats Test</TITLE> <META http-equiv=refresh content=15> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <STYLE type=text/css>BODY { BACKGROUND-COLOR: #000000 } .style1 { FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #ff6600 } </STYLE> <BODY> <FORM name=stats action=/stats/index.php meathod=get><SPAN class=style1>Gamertag:</SPAN> <INPUT maxLength=30 size=30 id="gamertag"> name=gt> <script type="text/javascript"> var f1=new rememberForm("stats") //create instance of script referencing form "stats" f1.persistfields("gamertag") //specify the text field "gamertag" to be remembered </script> <INPUT type=submit value="Get Stats"> <BR><EMBED pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash src=http://www.xboxottawa.ca/xblstats/halo2stats.swf?playerName=WHAT GOES HERE? width=470 height=145 type=application/x-shockwave-flash border="0" quality="high"> </BR> <script type="text/javascript"> var f1=new rememberForm("stats") //create instance of script referencing form "stats" f1.persistfields("gamertag") //specify the text field "gamertag" to be remembered </script> </FORM> </DIV></BODY></HTML>
If this needs any more clarifying, please ask.



Reply With Quote
Bookmarks