TRocket wrote:
done!
change the blockspec to:Code:
doimport | frame response | (frame _ self ownerThatIsA: ScratchFrameMorph) ifNil: [frame _ (self ownerThatIsA: OffscreenWorldMorph) frame]. "frame importScratchProject." "Allow the user to select a project to open, then merge that project's sprites with the current project." frame closeMediaEditorsAndDialogs ifFalse: [^ self]. frame stopAll. response _ ScratchFileChooserDialog chooseExistingFileType: #project extensions: #(panther pt) title: 'Import Project'. response ifNil: [^ frame]. frame importSpriteOrProject: response.you can change the title:'import project' if you want to change the title of the file picker
You mean Right click the previous block and paste the new code in?
Well it hasn't worked it just goes red
Offline
muppetds wrote:
TRocket wrote:
done!
change the blockspec to:Code:
doimport | frame response | (frame _ self ownerThatIsA: ScratchFrameMorph) ifNil: [frame _ (self ownerThatIsA: OffscreenWorldMorph) frame]. "frame importScratchProject." "Allow the user to select a project to open, then merge that project's sprites with the current project." frame closeMediaEditorsAndDialogs ifFalse: [^ self]. frame stopAll. response _ ScratchFileChooserDialog chooseExistingFileType: #project extensions: #(panther pt) title: 'Import Project'. response ifNil: [^ frame]. frame importSpriteOrProject: response.you can change the title:'import project' if you want to change the title of the file picker
You mean Right click the previous block and paste the new code in?
Well it hasn't worked it just goes red
remove the fist line "doimport"
Offline
TRocket wrote:
muppetds wrote:
TRocket wrote:
done!
change the blockspec to:Code:
doimport | frame response | (frame _ self ownerThatIsA: ScratchFrameMorph) ifNil: [frame _ (self ownerThatIsA: OffscreenWorldMorph) frame]. "frame importScratchProject." "Allow the user to select a project to open, then merge that project's sprites with the current project." frame closeMediaEditorsAndDialogs ifFalse: [^ self]. frame stopAll. response _ ScratchFileChooserDialog chooseExistingFileType: #project extensions: #(panther pt) title: 'Import Project'. response ifNil: [^ frame]. frame importSpriteOrProject: response.you can change the title:'import project' if you want to change the title of the file picker
You mean Right click the previous block and paste the new code in?
Well it hasn't worked it just goes redremove the fist line "doimport"
yep now its working
*gives TRocket a tin of cookies*
Offline
Cool... it needs a LOT of work though. There are a huge number of glitches. It didn't save my username upon first load, it doesn't delete previously drawn background or let you toggle through backgrounds, the settings panel is very unclear...
Offline
sparks wrote:
Cool... it needs a LOT of work though. There are a huge number of glitches. It didn't save my username upon first load, it doesn't delete previously drawn background or let you toggle through backgrounds, the settings panel is very unclear...
OK thank you
Can you list all the glitches and suggest how to fix them please
Offline
muppetds wrote:
sparks wrote:
Cool... it needs a LOT of work though. There are a huge number of glitches. It didn't save my username upon first load, it doesn't delete previously drawn background or let you toggle through backgrounds, the settings panel is very unclear...
OK thank you
Can you list all the glitches and suggest how to fix them please
those glitches were't there earlier
Last edited by muppetds (2012-02-19 13:25:42)
Offline
muppetds wrote:
muppetds wrote:
sparks wrote:
Cool... it needs a LOT of work though. There are a huge number of glitches. It didn't save my username upon first load, it doesn't delete previously drawn background or let you toggle through backgrounds, the settings panel is very unclear...
OK thank you
Can you list all the glitches and suggest how to fix them pleasethose glitches were't there earlier
The nothing wrong with the scripts though and yet script goes red
maybe the block code has got corrupted as there aren't any custom blocks in that script
after redoing the script it seems to be working
Last edited by muppetds (2012-02-19 13:35:12)
Offline