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

#1 2010-08-12 08:47:34

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

UpdateWatcherButtonsForFrame bug

How can I fix it. I was making my mod and I got the error like in Panther. It says
Message Not Understood UpdateWatcherButtonsForFrame


You can now reach me on Twitter @johnnydean1_

Offline

 

#2 2010-08-12 08:51:59

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: UpdateWatcherButtonsForFrame bug

give me the whole context. btw after the first time it works

Offline

 

#3 2010-08-12 08:59:29

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: UpdateWatcherButtonsForFrame bug

deletingWatcher
    | t1 t2 |
    watcherPositions do: [:t3 | t3 first
            ifNotNil:
                [t2 _ t3 first.
                t2 owner
                    ifNil:
                        [t3 at: 1 put: nil.
                        t3 at: 2 put: t2 position - workPane position.
                        t3 at: 3 put: t2 layoutStyle.
                        t3 at: 4 put: t2 sliderRange]]].
    t1 _ viewerPane pageViewer contents.
    t1 ifNotNil: [t1 updateWatcherButtonsForFrame: self]


You can now reach me on Twitter @johnnydean1_

Offline

 

#4 2010-08-12 09:02:40

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: UpdateWatcherButtonsForFrame bug

Thats the code giving a error


You can now reach me on Twitter @johnnydean1_

Offline

 

#5 2010-08-12 09:04:53

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: UpdateWatcherButtonsForFrame bug

well you didn't edit that code so i've no clue.
it's just like my problem on dictionaries  smile

Offline

 

#6 2010-08-12 15:59:03

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

Re: UpdateWatcherButtonsForFrame bug

I believe it's because the "contents" of the pageViewer is a Morph, which doesn't respond to "updateWatcherButtonsForFrame", I would suggest trying just "pageViewer" (no contents) but I'm not looking at the source right now so that's a guess...


nXIII

Offline

 

#7 2010-08-12 15:59:54

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: UpdateWatcherButtonsForFrame bug

ok


You can now reach me on Twitter @johnnydean1_

Offline

 

Board footer