I have converted a HyperCard stack to SuperCard and having trouble with one card on which there are two buttons. When I use the browser tool on Button #2 there is a script error that shows the script for button #1 on the screen, not the script for button #2. Using the pointer tool on button #2, the appropriate script appears in the screen. What can cause this? Here is the correct script that worked beautifully in HyperCard but not in Supercard
if "SHOW" is in short name of me then
choose LINE tool
set lineSize to 2
set penFore to 256
drag from 500,30 to 433,159
drag from 433,159 to 20,330
drag from 20,330 to 76,261
drag from 76,261 to 500,30
choose browse tool
set name of me to "HIDE LIMITS"
else
choose eraser tool
drag from 500,30 to 433,159
drag from 433,159 to 20,330
drag from 20,330 to 76,261
drag from 76,261 to 500,30
choose browse tool
click at 34,39
set name of me to "SHOW LIMITS"
end if