home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 51
/
Mobiclic51.iso
/
mac
/
DATA
/
JEUX
/
Quiz.dir
/
00003_Script_GESTION_BOUTONS_VIGNETTES
< prev
next >
Wrap
Text File
|
2003-01-27
|
874b
|
44 lines
--BOUTONS_VIGNETTES
property numero, LaPiste, LeNom, LaBoucle, LaPisteBoucle
-------
on beginSprite me
numero = me.spriteNum
LaBoucle = numero + 5
LaPiste = sprite(numero)
LaPisteBoucle = sprite(LaBoucle)
LeNom = LaPiste.member.name
end
-------
on MouseEnter
if the pauseState = 1 then exit
cursor 280
LaPisteBoucle.member = LeNom&"_R"
LaPisteBoucle.blend = 100
LaPiste.blend = 0
updateStage
end
-------
on mouseLeave
if the pauseState = 1 then exit
cursor -1
LapisteBoucle.member = LeNom
LaPisteBoucle.blend = 0
Lapiste.blend = 100
puppetSprite numero,false
end
-------
on mouseUp
if the pauseState = 1 then exit
cursor -1
sound close 3
case(LeNom) of
"CHOIX_1":
SERIE_01
"CHOIX_2":
SERIE_02
"CHOIX_3":
SERIE_03
"CHOIX_4":
SERIE_04
end case
end