home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 46
/
Mobiclic46.iso
/
pc
/
DATA
/
SHARED
/
COMMUNS.CST
/
00233_Script_233
< prev
next >
Wrap
Text File
|
2002-07-12
|
1KB
|
57 lines
--zone nav croise
property pNbr, pInc, pLiens
global gMagList, gFichierMags, gLiens
on beginsprite
pLiens = gLiens[value(member("my ref").line[1])]
pNbr = count(pLiens)
pInc = pNbr*20
end
on mouseEnter
--mise en place des bons acteur
repeat with i = 1 to pNbr
mag = pLiens[i]
num = getPos(gMagList,mag)
fichier=gFichierMags[num]
newmag = "nav_croise" & fichier
newmagroll = "nav_croise" & fichier & "r"
sprite(102+i).member = member newmag
sprite(106+i).member = member newmagroll
end repeat
--deplacement de la zone nav croise
repeat with i = 102 to 110
pos0 = sprite(i).locV
pos1 = pos0 - pInc - 5
sprite(i).locV = pos1
end repeat
updateStage
end
on mouseWithin
--gestion des rolls
glisserSurC 103,106,4
end
on mouseLeave
--deplacement de la zone nav croise
repeat with i = 102 to 110
pos0 = the locV of sprite i
pos1 = pos0 + pInc + 5
sprite(i).locV = pos1
end repeat
--mise en place des acteurs point
repeat with i = 103 to 110
sprite(i).member = member "point croise"
end repeat
updateStage
end
on getLiens
return pLiens
end