Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 08-24-2004, 03:19 PM flash highscore
lajkonik86's Avatar
Ultra Talker

Posts: 389
Trades: 0
cant get a script from this site to work
http://www.glenrhodes.com/flashgamec...rder=0&thold=0

it's a high score submission script for dealing with flashgames

it has a test function to see if it works
http://www.top-download.net/games/ha...scoretest.html

doesn't work with me.
Dont have a clue why..

Anybody can help me with this?
lajkonik86 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-25-2004, 12:30 PM
lajkonik86's Avatar
Ultra Talker

Posts: 389
Trades: 0
got the manual score submission to work
lajkonik86 is offline
Reply With Quote
View Public Profile
 
Old 08-25-2004, 12:34 PM
lajkonik86's Avatar
Ultra Talker

Posts: 389
Trades: 0
but i cant seem to properly send the variables in flash

The author of the scripts tells me to use this actionscript

--------------------------------
serverURL = "http://www.dummysite.com/hiscore/"; gameID = "MYFLASHGAME"; submit_btn.onRelease = function() { lv = new LoadVars(); lv.onLoad = function(state) { if (this.result == "success") { result_txt.text = "Successfully Added Score"; } else if (this.result = "fail") { result_txt.text = this.reason; } } lv.gameID = gameID; lv.userID = username.text; lv.score = randomscore.text; lv.action = "addNew"; lv.sendAndLoad(serverURL + "hiscore.php", lv, "POST"); result_txt.text = "Submitting..."; }
-------------------------------

I've inputted all the variables correctly but i cant get the **** thing to work.
also this part

-----------------------
submit_btn.onRelease = function() { lv = new LoadVars(); lv.onLoad = function(state) { if (this.result == "success") { result_txt.text = "Successfully Added Score"; } else if (this.result = "fail") { result_txt.text = this.reason; } }
---------------------
will not be accepted by my flash editor (Swishmax)


It's really freaking me out. Anybody any advice.?
lajkonik86 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to flash highscore
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11554 seconds with 12 queries