how did you figure that out? Is the flash source posted?
Offline
take a screen shot of it and use a text-scanner maybe?
MathWizz, JS and AS are nearly identical. Think of the progress of our viewer!
Offline
bump
Offline
MathWizz wrote:
rubiks_cube_guy238 wrote:
How did you find this? Did you decompile the Flash player? Can you post a link to the decompiled source?
Sadly, no. I have a trial version of an SWF decompiler and cannot export anything.
Where did you get it? I searched for it, but I don't know which ones are viruses and which aren't.
Offline
rubiks_cube_guy238 wrote:
MathWizz wrote:
rubiks_cube_guy238 wrote:
How did you find this? Did you decompile the Flash player? Can you post a link to the decompiled source?
Sadly, no. I have a trial version of an SWF decompiler and cannot export anything.
Where did you get it? I searched for it, but I don't know which ones are viruses and which aren't.
Offline
Thanks!
Offline
This is epic. It means that the flash player has more Scratch 2.0 to it than previously thought.
Offline
The Flash Player used to let you shift-click a sprite and get a pop-up menu that has menu options to clone or delete a sprite, but the Scratch Team unfortunately removed that.
Offline
Hitechcomputergeek wrote:
The Flash Player used to let you shift-click a sprite and get a pop-up menu that has menu options to clone or delete a sprite, but the Scratch Team unfortunately removed that.
I never knew that...
Offline
Clone isn't working for me.
Last edited by ImagineIt (2011-12-19 21:21:58)
Offline
ImagineIt wrote:
clone isn't working for me.
Did you edit your scratch.image file?
Offline
rabbit1131 wrote:
ImagineIt wrote:
clone isn't working for me.
Did you edit your scratch.image file?
Yes.
Last edited by ImagineIt (2011-12-20 15:46:40)
Offline
GP1 wrote:
This is really nice! Finally, a custom block that will work online!
Its not working...?
Could anyone send me the IMAGE file they use (with the cloning?) (t_temp34@yahoo.com)?
Somehow it doesn't work online, tested it about three times in Flash.
Please
Offline
MathWizz wrote:
I just discovered that there are two hidden blocks in the flash player. If you make a block with the selector 'createClone' and run it in the flash player, it will create a clone of that sprite! The selector 'deleteClone' deletes the sprite it runs in. I made an example here.
To make the cloning blocks in Scratch, you need to add two blocks called 'clone me' and 'delete me' to the sprite blockspecs. Here is a tutorial on installing block.
http://img845.imageshack.us/img845/6443/cloneme.gifCode:
Blockspec: ('clone me' #- #createClone) Code: createClone | t2 t3 | t2 _ self ownerThatIsA: ScratchFrameMorph. t2 ifNil: [t2 _ (self ownerThatIsA: OffscreenWorldMorph) frame]. t2 ifNil: [^ self]. t3 _ self fullCopy. t3 objName: objName , ' clone'. t3 isClone: true. t3 blocksBin allMorphsDo: [:t4 | (t4 isKindOf: BlockMorph) ifTrue: [t4 stop]]. t2 workPane addMorph: t3http://img209.imageshack.us/img209/6596/deleteme.gif
Code:
Blockspec: ('delete me' #- #deleteClone) Code: deleteClone self undoableDeleteSpriteThere is also a hat block that is called when a clone is created and it's selector is 'whenCloned' and I am to lazy to create code for it ATM. Feel free to donate some code if you want.
how do you detect if a sprite is a clone or not?
Offline
LS97 wrote:
MathWizz wrote:
LS97 wrote:
It's said that we can only use this until the team finds out.
I wish they'd keep it......?
I'm 80% sure they will remove the feature/disable it.
Anyhow, how do you explain this?
:'(
*cries*
Offline
ProgramCAT wrote:
GP1 wrote:
This is really nice! Finally, a custom block that will work online!
Its not working...?
Could anyone send me the IMAGE file they use (with the cloning?) (t_temp34@yahoo.com)?
Somehow it doesn't work online, tested it about three times in Flash.
Please
PLEASE????
Offline
zippynk wrote:
Servine wrote:
How do we control the clones?
Offline
I think it's because of Scratch 2.0. See what happens with
when I receive [Scratch-CloneEvent v ]That's just a guess.
Offline
Jonathan50 wrote:
I think it's because of Scratch 2.0. See what happens with
when I receive [Scratch-CloneEvent v ]That's just a guess.
I don't think so... The scratch events change in Scratch 2.0...
Offline