home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 46
/
Mobiclic46.iso
/
pc
/
DATA
/
COMMUNS
/
MOBICLIC_MENUS.CST
/
00064_Script_GESTION_COIN_JAUNE_STANDARS
< prev
next >
Wrap
Text File
|
2002-08-21
|
1KB
|
52 lines
global validMHG,menusActifs,menuOuvert, pisteMenuHG, pisteCoinHG, ouvreMenuHG,fermeMenuHG, menuFermeHG
global gFlagmagic, gFlag_hideWindows
----------------------------------
on beginSprite
pisteCoinHG = the currentSpriteNum
end
----------------------------------
on mouseUp
if the pauseState = 1 then exit
case(gFlagmagic) of
0, VOID:--Θquerres Bernard
if menusActifs=1 and menuOuvert=0 then
cursor 280
ouvreMenuHG=1
menuFermeHG=0
sprite(pisteMenuHG).memberNum = member("menuHG").number
sprite(pisteMenuHG).rect = rect(0,0,600,98)
updateStage
afficherPistes pisteMenuHG
menuOuvert = "HG"
hide_zevideo()
if gFlag_hideWindows <> VOID then hide_window()
put " Ouverture Θquerre jaune"
end if
1:--Θquerres JLM
cursor 280
manage_magicWindow("YELLOW","STD")
put " Ouverture Θquerre magique jaune"
end case
end
-------------------------------
on mouseEnter
if menusActifs=1 then
equerre pisteCoinHG
end if
end
------------------------
on mouseLeave
if the pauseState=0 then
if rollOver(pisteMenuHG)=0 then
cursor -1
menuOuvert=0
fermeMenuHG=1
end if
end if
end
----------------------------