home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 46
/
Mobiclic46.iso
/
pc
/
DATA
/
COMMUNS
/
MOBICLIC_MENUS.CST
/
00084_Script_GESTION_COIN_BLEU_STANDARD
< prev
next >
Wrap
Text File
|
2002-08-21
|
1KB
|
50 lines
global validMBG, menusActifs, menuOuvert, pisteMenuBG, pisteCoinBG, ouvreMenuBG,fermeMenuBG, menuFermeBG
global gFlagmagic, gFlag_hideWindows
---------------------------------------
on beginSprite
pisteCoinBG = 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
ouvreMenuBG=1
menuFermeBG=0
afficherPistes pisteMenuBG
sprite(pisteMenuBG).memberNum = member("MenuBG").number
sprite(pisteMenuBG).rect = rect(0,80,106,480)
afficherPistes pisteMenuBG
updateStage
menuOuvert = "BG"
hide_zevideo()
if gFlag_hideWindows <> VOID then hide_window()
put " Ouverture Θquerre bleue"
end if
1:--Θquerres JLM
cursor 280
manage_magicWindow("BLUE","STD")
put " Ouverture Θquerre magique bleue"
end case
end
---------------------------------------
on mouseEnter
if menusActifs=1 then
equerre pisteCoinBG
end if
end
---------------------------------------
on mouseLeave
if the pauseState=0 then
if rollOver(pisteMenuBG)=0 then
cursor -1
menuouvert = 0
fermeMenuBG=1
end if
end if
end
---------------------------------------