Discuss Scratch
- Discussion Forums
- » Open Source Projects
- » Scratch 2.0: How do I load local projects
- _nix
- Scratcher
1000+ posts
Scratch 2.0: How do I load local projects
Welp. This is the problem I knew I ran into ages ago..
I'd also like to know this – putting the SWF on a server (read: python -m SimpleHTTPServer) doesn't seem to work.
Time to search the source code!
EDIT: Okay, so putting it on a server will actually prevent loadProject from working:
..but it doesn't work when it's offline, anyways.. hmm..
EDIT #2: Removing that extra check fixed it! Tested on a local server it works fine. You'll want to remove that
I'd also like to know this – putting the SWF on a server (read: python -m SimpleHTTPServer) doesn't seem to work.
Time to search the source code!
EDIT: Okay, so putting it on a server will actually prevent loadProject from working:
if (projectToInstall != null && (app.isOffline || app.isExtensionDevMode)) {
EDIT #2: Removing that extra check fixed it! Tested on a local server it works fine. You'll want to remove that
Last edited by _nix (Dec. 6, 2016 00:17:12)
══ trans autistic lesbian enbydoggirls // 16 17 18 19 20, she/they ════
sparrows one word to the paragraph // <3 // ~(quasar) nebula
- Discussion Forums
- » Open Source Projects
- » Scratch 2.0: How do I load local projects