on 4/3/01 8:24 AM, dexsoft freeweb at [EMAIL PROTECTED] wrote:
> I have shockwave game with few levels. On the start of the game I need to
> receive player ID from browser, and after all levels I have to call php page
> to submit score, like this
>
> game.php ? "ID=23"&"score=345"
>
> I examined two functions for browser communication with shockwave
> (ExternalEvent and EvalScript) but either do not support all browsers. Is
> there any more safe procedure, to receive user ID and return ID and score?
>
> I assume that I can send score by calling php page with getUrl command but I
> don't now how to use variable in parameters like this instead of concrete
> values.
> getUrl(game.php ? "ID=myId&score=FinalScore")
> or something like that
>
> Thanks,
> Dejan
>
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
try using the goToNetPage command and send the parameters. something like
this should work(i didn't test it):
gotoNetPage "game.php?&ID=" & varID & "score=" & varscore,
"here_goes_the_target"
Rodrigo Peres
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]