Should I use the loadVariables function to add a score to a highscore board? I made a basic scoreboard using PHP and if the action == "add" it will add the score in the right position and bump everything else down. I tried adding the following dode to a button but all it did was freeze up...
p.s. the button is a movie clip. Maybe I should try onClipEvent(mouseUp)?Code:on (release) { action = "add"; loadVariables("myurl.php", "/", "GET"); gotoAndPlay("hsview")://this is where they can view the scoreboard and the farme s in the same scene as the button. }




Reply With Quote