Welcome to our forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Forum Statistics

  • Forum Members:
  • Total Threads:
  • Total Posts: 3
There are 1 users currently browsing forums.
JavaScript Coding JavaScript allows rich, browser-based web-applications with interactivity and complex visual effects. For discussion on JavaScript, use this forum.

Reply
  #1  
Old 07-11-2009
New Born
 
Join Date: Jul 2009
Posts: 1
Rep Power: 0
tavy88 is on a distinguished road
Help with Javascript/Java

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/&amp;d=zssvv&amp;b=http://data.mybrute.com/img/en/teasing_submit.gif&amp;o=http://data.mybrute.com/img/en/teasing_submit_over.gif&amp;a=tavy88&amp;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!
Reply With Quote
  #2  
Old 09-18-2009
Toddler
 
Join Date: Sep 2009
Posts: 7
Rep Power: 0
dixon is on a distinguished road
Re: Help with Javascript/Java

hi pls can any one in the house be kind enough gy teaching me how to program using java.
thanx
Reply With Quote
  #3  
Old 09-18-2009
Goodbye Youngcoders
 
Join Date: Dec 2005
Posts: 1,861
Rep Power: 6
Umang is on a distinguished road
Re: Help with Javascript/Java

Hi Dixon,
There are many tutorials available on the net that will teach you how to code in Java. You can use Google to find a good tutorial. If you have any problems or doubts, don't hesitate to start a thread at the Java forums on YC.
Reply With Quote


Reply

Tags
embed request, java, javascript


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript/Java? Brandon JavaScript Coding 4 03-14-2005 09:30 PM