Is it possible to grab a .sb variable (game score) from an html embeded Scratch project (via ScratchApplet.jar) on my web site .... I am wanting to grab the variables value (from the Scratch embeded game) to post (via a html form).
... Thanks in advance !
- Rich
=========================
Offline
A better description to what I am wanting to do:
* I have embeded a Scratch project - via html - into a web page (via ScratchApplet.jar etc.) and all works well !
* This project has a "Score" variable
* I would like to pass the "Score" variable value to an element of a web form so students can post their score to our high scores database (I would manage this processing via PHP/MySQL)
Offline
richwhite wrote:
A better description to what I am wanting to do:
* I have embeded a Scratch project - via html - into a web page (via ScratchApplet.jar etc.) and all works well !
* This project has a "Score" variable
* I would like to pass the "Score" variable value to an element of a web form so students can post their score to our high scores database (I would manage this processing via PHP/MySQL)
I am pretty experienced with html and php and I don't think this is possible with out editing the javaplayer to do so. Sorry but I can't help here.
Offline
I am looking at the Build Your Own Blocks Scratch stuff ... not sure if there is a way to create a "Post Variable to web (script)" block method .... I am kinda going out on a limb with this one
http://wiki.scratch.mit.edu/wiki/Build_Your_Own_Blocks_%28BYOB%29
Offline
No, there isn't. And BYOB doesn't work online anyways.
Offline