This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-02-12 10:36:57

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Import Sprite Block Please!

Servine wrote:

nXIII wrote:

Servine wrote:

does it work in panther?

It should; you'll just have to tweak the blockspec.

I dont know how to, I've tried.

-    import sprite $String$

| frame |
(frame := self ownerThatIsA: ScratchFrameMorph) ifNil: [
    frame := (self ownerThatIsA: OffscreenWorldMorph) frame].
frame importSpriteOrProject: t1.

Last edited by nXIII (2012-02-12 10:37:43)


nXIII

Offline

 

#27 2012-02-12 11:23:15

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: Import Sprite Block Please!

nXIII wrote:

Servine wrote:

nXIII wrote:

It should; you'll just have to tweak the blockspec.

I dont know how to, I've tried.

-    import sprite $String$

| frame |
(frame := self ownerThatIsA: ScratchFrameMorph) ifNil: [
    frame := (self ownerThatIsA: OffscreenWorldMorph) frame].
frame importSpriteOrProject: t1.

thankyou.

have a cookie.

when gf clicked
give nXIII a cookie

Last edited by Servine (2012-02-12 11:23:43)


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

Board footer