I am designing a java tool for the online game h**p://[www].mybrute.com. Everything goes fine until I have to press the fight button in game. I can not make the http request in java , because the "k=" variable in the querry is generated at each fight and I don't know how to get my hands on it. Please help. There is a javascript code in the source that says:
<script type="text/javascript">
//<![CDATA[
var so = new
js.SWFObject("http://data.mybrute.com/swf/uc.swf?v=15","btn",212,66,9,"#ECAD71");
so.addParam("menu","false");
so.addParam("AllowScriptAccess","always");
so.addParam("FlashVars","__file=http://data.mybrute.com/swf/btn.swf?v=0&__key=http://data_labrute_fr/swf_key&lang=en&u=/fight/&d=zssvv&b=http://data.mybrute.com/img/en/teasing_submit.gif&o=http://data.mybrute.com/img/en/teasing_submit_over.gif&a=tavy88&k=1");
so.addParam("scale","noscale");
so.write("swf_btn");
//]]>
</script>
If I could only use this script to construct the http request in Java. Please help!!!! I need help ASAP. Thank you!