home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 46
/
Mobiclic46.iso
/
pc
/
DATA
/
COMMUNS
/
MOBICLIC_MENUS.CST
/
00034_Script_GESTION_COIN_VERT_STANDARD
< prev
next >
Wrap
Text File
|
2002-08-21
|
948b
|
40 lines
global validMHD, menusActifs, menuOuvert, pisteMenuHD, pisteCoinHD, ouvreMenuHD, fermeMenuHD, menuFermeHD
------------------------
on beginSprite
pisteCoinHD = the currentSpriteNum
end
--------------------------
on mouseUp
if the pauseState=0 then
if menusActifs=1 and menuOuvert=0 then
cursor 280
ouvreMenuHD=1
menuFermeHD=0
sprite(pisteMenuHD).memberNum = member("menuHD").number
sprite(pisteMenuHD).rect = rect(536,0,640,381)
afficherPistes pisteMenuHD
updateStage
menuOuvert = "HD"
put " Ouverture Θquerre Verte"
end if
end if
end
---------------------
on mouseEnter
if menusActifs=1 then
equerre pisteCoinHD
end if
end
-----------------------
on mouseLeave
if the pauseState=0 then
if rollOver(pisteMenuHD)=0 then
cursor -1
menuOuvert = 0
fermeMenuHD=1
end if
end if
end
------------------------