Discuss Scratch

scratch_poli
New to Scratch
2 posts

Registering extensions from web application

Hello there.
I am developing an application that embeds the swf player to run Scratch projects.
At the end of every extension's js file, it is required to call ScratchExtensions.register(), such as in this example:
https://raw.githubusercontent.com/LLK/scratchx/master/random_wait_extension.js

Now, here's my question: would it be possible to access the ScratchExtensions object outside of the Scratch environment, in order to register the extension from my own web application?

Thanks in advance.

Last edited by scratch_poli (Oct. 24, 2018 11:15:26)

Powered by DjangoBB

Standard | Mobile