markyparky56 wrote:
celloguy123 wrote:
Why are we talking about where jens lives?
Scroll up...
Anyway, I think the code should be moved to the top of the page aswell as the restrictions given by nXIII so that people don't snap it up.
who knows u guys might have gotten bored
Offline
nXIII wrote:
(for personal use only, not in mods please!)
loadCostumeFrom: url
| img newC |
(url asLowercase endsWith: '.gif') ifTrue: [
img _ (GIFReadWriter new setStream: (HTTPSocket httpGet: url)) nextImage.]
ifFalse: [
(url asLowercase endsWith: '.png') ifTrue: [
img _ (PNGReadWriter createAFormFrom: (HTTPSocket httpGet: url) contents) first]
ifFalse: [
img _ HTTPSocket httpJpeg: url]].
newC _ ImageMedia new form: img; mediaName: (self unusedMediaNameFromBaseName: (self defaultImageMedia mediaName)).
self addMediaItem: newC.Supports PNGs, GIFs, and JPEGs.
i'd really like to add this to my mod, swipe! i definitely won't if you say not to, but before you make a decision please take these points into account;
1. i will make SURE to give credit
2. swipe is very developer friendly, so anyone can go in and fiddle with the source code just by hitting the "Dev" button. I feel that if i didn't do that then it wouldn't be fair because many blocks were only created due to the hard work of others.
3. you're like the best person at figuring these things out! I know that I won't be able to figure out a block like this on my own for a while and i'd really like for swipe users to be able to use it.
if you're answer is still a no, that's okay too, at least I know i tried.
Offline
PlayWithFire wrote:
nXIII wrote:
(for personal use only, not in mods please!)
loadCostumeFrom: url
| img newC |
(url asLowercase endsWith: '.gif') ifTrue: [
img _ (GIFReadWriter new setStream: (HTTPSocket httpGet: url)) nextImage.]
ifFalse: [
(url asLowercase endsWith: '.png') ifTrue: [
img _ (PNGReadWriter createAFormFrom: (HTTPSocket httpGet: url) contents) first]
ifFalse: [
img _ HTTPSocket httpJpeg: url]].
newC _ ImageMedia new form: img; mediaName: (self unusedMediaNameFromBaseName: (self defaultImageMedia mediaName)).
self addMediaItem: newC.Supports PNGs, GIFs, and JPEGs.
i'd really like to add this to my mod, swipe! i definitely won't if you say not to, but before you make a decision please take these points into account;
1. i will make SURE to give credit
2. swipe is very developer friendly, so anyone can go in and fiddle with the source code just by hitting the "Dev" button. I feel that if i didn't do that then it wouldn't be fair because many blocks were only created due to the hard work of others.
3. you're like the best person at figuring these things out! I know that I won't be able to figure out a block like this on my own for a while and i'd really like for swipe users to be able to use it.
if you're answer is still a no, that's okay too, at least I know i tried.
I personally think the Scratch Modification world doesn't need another block, but if you really disagree and feel you must include this, I guess you can.
Last edited by nXIII (2010-08-10 17:31:14)
Offline
nXIII wrote:
PlayWithFire wrote:
nXIII wrote:
(for personal use only, not in mods please!)
Supports PNGs, GIFs, and JPEGs.i'd really like to add this to my mod, swipe! i definitely won't if you say not to, but before you make a decision please take these points into account;
1. i will make SURE to give credit
2. swipe is very developer friendly, so anyone can go in and fiddle with the source code just by hitting the "Dev" button. I feel that if i didn't do that then it wouldn't be fair because many blocks were only created due to the hard work of others.
3. you're like the best person at figuring these things out! I know that I won't be able to figure out a block like this on my own for a while and i'd really like for swipe users to be able to use it.
if you're answer is still a no, that's okay too, at least I know i tried.I personally think the Scratch Modification world doesn't need another block, but if you really disagree and feel you must include this, I guess you can.
![]()
hmm, i wouldn't disagree actually, mods need more than just blocks, but i was hoping to get a couple more in just because this is such a useful one especially! thank you!
Offline
I just edited my post as you posted that... changed it back, but, on second thought, I really would like to not put this block in mods.
____________________
1222. Interesting number....
Last edited by nXIII (2010-08-10 17:32:01)
Offline
okay that's fine
um but i've got one more question, (unrelated) every time i double click a block for some reason it just keeps the white outline but won't do anything. what's going on with my mod?
Offline
You encountered a error, press the stop button a few times to dismiss it.
Last edited by johnnydean1 (2010-08-10 18:03:12)
Offline