I have figured out how to edit the experimental viewer. The only thing I need to know is, does anyone know where the code for the blocks are?
Offline
Block specs i suppose, can you tell me how to get into the source? PLEASE!
Offline
Yes. If you right click on the very edge of the screen in the experimental viewer, you can select 'Save Page as...' Then It will save not only the HTML file, but also a folder called (whatever you save the page as)_files. In this folder is a file called Scratch.swf. This can be decompiled with a flex decompiler. After you edit the action script, you can recompile it and replace Scratch.swf with your new Scratch.swf.
I know the name of the block specs file, I just don't know where the actual code for the block is.
Last edited by scratcher7_13 (2011-03-30 16:59:21)
Offline
I haven't found a decent decompiler yet.
Offline
scratcher7_13 wrote:
Yes. If you right click on the very edge of the screen in the experimental viewer, you can select 'Save Page as...' Then It will save not only the HTML file, but also a folder called (whatever you save the page as)_files. In this folder is a file called Scratch.swf. This can be decompiled with a flex decompiler. After you edit the action script, you can recompile it and replace Scratch.swf with your new Scratch.swf.
I know the name of the block specs file, I just don't know where the actual code for the block is.
I did that, I cannot find the SWF though.
Offline
Could you find the folder (name)_files?
Offline
scratcher7_13 wrote:
Could you find the folder (name)_files?
Yes.
Offline
Do you think you could post a screenshot?
Offline
The primitives package contains the actual code that the blocks execute. The Specs.as file in the top-level package should contain the blockspecs. I suspect scratch.PaletteBuilder might come in handy too...

Offline
scratcher7_13 wrote:
Yes. If you right click on the very edge of the screen in the experimental viewer, you can select 'Save Page as...' Then It will save not only the HTML file, but also a folder called (whatever you save the page as)_files. In this folder is a file called Scratch.swf. This can be decompiled with a flex decompiler. After you edit the action script, you can recompile it and replace Scratch.swf with your new Scratch.swf.
I know the name of the block specs file, I just don't know where the actual code for the block is.
This is simular to how you get the beta. Hint. With firefox you can download any swf if you know where to look.
My site Offline
I've been having the file for ages, but I can't decompile it. I have the entire CS4 suite and can't decompile a SWF file, amazing.
Offline
I found a decent SWF decompiler, but the experimental viewer crashes it when it is 41% decompiled.
Offline
TheSuccessor wrote:
I found a decent SWF decompiler, but the experimental viewer crashes it when it is 41% decompiled.
And what's this decompiler called, and where can you find it?
Offline
how do you get the experimental viewer?
Offline
I tried debug it with cs4 flash but I keep getting this error:
"Waiting for Player to connect..."
Offline