This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-08 15:00:40

turtleguy
New Scratcher
Registered: 2010-11-30
Posts: 6

Actionscript and scratch

Hi
ill try to make this straight forward pls do the same with your answers.
My idea is to have some sort of highscore table for my game (rpg).
I need to connect from scratch to actionscript to highscore table to online database.
This would be on my website which will be launched when this and other (non-scratch) projects are done.
and the wiki did not help

So what i need to know:
actionscript getting variables from scratch
scratch getting variables from actionscript
actionscript receiving broadcasts from scratch
scratch receiving broadcasts from actionscript

pls specify/give the code or something approximate (actionscript and scratch)

thx in advance

Offline

 

#2 2011-07-08 15:22:33

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Actionscript and scratch

I'll certainly be straight-forward here:
It's definitely impossible to do in a normal Scratch without modifications to the original code.

If you want to use a modification such as Bingo or Panther, you can use the URL blocks to send simple GET inputs to a PHP page which should then handle the AS get/set.

It is, of course, a bit of a roundabout. I certainly wouldn't recommend my way unless you can't find any other decent one.

Offline

 

#3 2011-07-09 12:43:16

turtleguy
New Scratcher
Registered: 2010-11-30
Posts: 6

Re: Actionscript and scratch

thx
i will do some research and work into your method

Offline

 

#4 2011-07-10 10:07:22

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Actionscript and scratch


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#5 2011-08-07 04:11:38

turtleguy
New Scratcher
Registered: 2010-11-30
Posts: 6

Re: Actionscript and scratch

i have already been to the wiki lol and i could not find the particular info tht i need.anyway thx everybody i have moved on to c++ to see wht i can do with tht. (mainly because my projects are becoming too big and complicated tht scratch keeps lagging and glitching.)  smile

Offline

 

Board footer