good point...
I'll release a source code in 1.4, but I don't want people to know the secret backdoor.
Offline
I made a file chooser dialog for the movie player! It will pick out any MPEG or JPEG movies and any MP3 files! Here's the code:
Add this method in "Scratch-UI-Dialogs->ScratchFileChooserDialog->initialization":
createMovieMusicFileChooserFor: t1
scratchFrame _ nil.
readingScratchFile _ true.
list _ ScratchFilePicker new extensions: #(#mpeg #mpg #jpeg #jpg #mp3 ).
self removeAllMorphs.
bottomSpacer delete.
bottomSpacer _ nil.
mainColumn addMorphBack: list.
self title: 'Choose MPEG/JPEG Movie or MP3 File'.
list scratchInfoClient: nil.
mainColumn addMorphBack: (Morph new extent: 5 @ 9;
color: Color transparent);
addMorphBack: newTitleBin.
fileInfoColumn addMorphBack: buttonRow.
self addMorphBack: shortcutColumn;
addMorphBack: mainColumn;
addMorphBack: fileInfoColumnAnd replace the code in "Morphic-Movies->MovieDisplayMorph->file open/close->openMPEGFile" with this:
| t1 t2 |
t1 _ ScratchFileChooserDialog new createMovieMusicFileChooserFor: self;
type: #mpeg.
t2 _ t1 getUserResponse.
t2 = #cancelled ifTrue: [^ self].
self stopPlaying.
self openFileNamed: t2There you are, enjoy!
Offline
You're welcome
Offline
What's the ETA on the release of 1.3.1?
Offline
Actually, right now
And there's a source code!
RAGE 1.3.1 and 1.3.1 SOURCE
Enjoy!
Offline