home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today (BR) Volume 2 #6
/
CDRTV2N6.iso
/
makers
/
power
/
ue.dir
/
00288_Script_288
< prev
next >
Wrap
Text File
|
1996-03-13
|
3KB
|
53 lines
----------------
-- yael script
----------------
on Mycheck2
global FramesMap,MensFrames
put line (((the frame) + 2) / 3) of FramesMap into temp
if inside(point(the mouseH,the mouseV), rect(23, 183, 222, 429)) and string(item 2 of temp) <> "000" then --left
MyCursor 254,255
else if inside(point(the mouseH,the mouseV), rect(372, 186, 614, 430)) and string(item 1 of temp) <> "000" then --right
MyCursor 252,253
else if inside(point(the mouseH,the mouseV), rect(122, 229, 512, 379)) and string(item 3 of temp) <> "000" then --forward
MyCursor 258,259
else if inside(point(the mouseH,the mouseV), rect(122, 229, 512, 379)) and MensFrames contains string(((the frame) + 2) / 3) and string(((the frame) + 2) / 3) <> 9 then --DataBase
SetCursor
else if inside(point(the mouseH,the mouseV), rect(122, 189, 512, 229)) and string(item 5 of temp) <> "000" then --up
MyCursor 250,251
else if inside(point(the mouseH,the mouseV), rect(122, 379, 512, 429)) and string(item 4 of temp) <> "000" then --back
MyCursor 256,257
else if inside(point(the mouseH,the mouseV), rect(122, 379, 512, 429)) and string(item 6 of temp) <> "000" then --down
MyCursor 248,249
else
ReleasCursor
cursor 0
end if
end
on Mycheck
global FramesMap,MensFrames
put line (((the frame) + 2) / 3) of FramesMap into temp
if inside(point(the mouseH,the mouseV), rect(23, 183, 222, 429)) and string(item 2 of temp) <> "000" then --left
MyCursor 254,255
else if inside(point(the mouseH,the mouseV), rect(512, 189, 612, 429)) and string(item 1 of temp) <> "000" then --right
MyCursor 252,253
else if inside(point(the mouseH,the mouseV), rect(122, 229, 512, 379)) and string(item 3 of temp) <> "000" then --forward
MyCursor 258,259
else if inside(point(the mouseH,the mouseV), rect(122, 229, 512, 379)) and MensFrames contains string(((the frame) + 2) / 3) and string(((the frame) + 2) / 3) <> 9 then --DataBase
SetCursor
else if inside(point(the mouseH,the mouseV), rect(122, 189, 512, 229)) and string(item 5 of temp) <> "000" then --up
MyCursor 250,251
else if inside(point(the mouseH,the mouseV), rect(122, 379, 512, 429)) and string(item 4 of temp) <> "000" then --back
MyCursor 256,257
else if inside(point(the mouseH,the mouseV), rect(122, 379, 512, 429)) and string(item 6 of temp) <> "000" then --down
MyCursor 248,249
else
ReleasCursor
cursor 0
end if
end