home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 41
/
MOBICLIC41.ISO
/
pc
/
Data
/
Sommaire.dir
/
00013_Script_13
< prev
next >
Wrap
Text File
|
2002-02-07
|
2KB
|
59 lines
-- Bouton textes
property pisteUtil, acteur
global choix,chemin, cheminTextes
on mouseUp me
if the frameLabel = "B" then
cursor -1
coupeSon 3
s = the currentSpriteNum
-- copie des textes sur le disque dur
-- repΘrage du chemin d'accΦs au bureau (nΘcessite buddy API)
disque=baSysFolder("desktop")
-- crΘation d'un dossier sur le bureau (nΘcessite filextra)
if the machineType<>256 then
-- sur Mac
nom = disque & "textesMobiclic:"
createdirectory nom
else
if the platform="Windows,32" then
-- sous Windows 95 et 98
nom = disque & "textesMobiclic\"
createdirectory nom
end if
end if
-- copie des textes sur le disque dur
XcopyDirectory cheminTextes, nom
-- affichage des boucles attente Rato et Rati
afficherPistes 39,40
masquerPistes 41,42
go to "CopTextes"
end if
end
on mouseEnter me
if the frameLabel = "B" then
s = the currentSpriteNum
-- gestion du commentaire associΘ
son = field("sonsAssocies").Line[s-23].word[2]
acteur = field("sonsAssocies").Line[s-23].word[1]
joueson son
-- affichage de la boucle parole associΘe
case acteur of
"Ratonic" : -- boucle Ratonic
masquerPistes 39,42
afficherPistes 40,41
"Ratibelle" : -- boucle Ratibelle
masquerPistes 40,41
afficherPistes 39,42
end case
end if
end
on mouseLeave me
if the frameLabel = "B" then
coupeSon 3
masquerPistes 41,42
afficherPistes 39,40
end if
end