home *** CD-ROM | disk | FTP | other *** search
- global line_select, line_select2, passe, forcolor, forroll, forselect, theme, soustheme1, soustheme2, forchoix, rollchoix, selectchoix, forchoix2, rollchoix2, selectchoix2, dossier, Nivel_dos
-
- on mouseEnter
- if passe <> the currentSpriteNum then
- if member(the memberNum of sprite the currentSpriteNum).type = #text then
- member(the memberNum of sprite the currentSpriteNum).foreColor = forroll
- end if
- cursor(280)
- else
- cursor(-1)
- end if
- end
-
- on mouseLeave
- cursor(-1)
- if the currentSpriteNum <> passe then
- if member(the memberNum of sprite the currentSpriteNum).type = #text then
- member(the memberNum of sprite the currentSpriteNum).foreColor = forcolor
- end if
- end if
- end
-
- on mouseUp
- line_select = VOID
- line_select2 = VOID
- cursor(-1)
- if the currentSpriteNum <> passe then
- if passe <> 0 then
- if member(the memberNum of sprite passe).type = #text then
- member(the memberNum of sprite passe).foreColor = forcolor
- end if
- end if
- passe = the currentSpriteNum
- if member(the memberNum of sprite the currentSpriteNum).type = #text then
- member(the memberNum of sprite the currentSpriteNum).foreColor = forselect
- end if
- theme = EMPTY & member(dossier, "utile").line[the currentSpriteNum - 9]
- choixTeme = dossier & " " & member(dossier, "utile").line[the currentSpriteNum - 9]
- soustheme1 = EMPTY
- soustheme2 = EMPTY
- set the text of field "total" to EMPTY
- Nivel_dos = member(dossier & "_NbNivo", "utile").line[the currentSpriteNum - 9]
- sprite(43).visible = 0
- repeat with i = 44 to 48
- sprite(i).visible = 0
- end repeat
- j = the currentSpriteNum + 34
- sprite(j).visible = 1
- case Nivel_dos of
- "0":
- repeat with i = 21 to 23
- sprite(i).visible = 0
- end repeat
- case testMedia(dossier & " " & theme) of
- "logiciel":
- capture = theme
- member("install").text = "Installer"
- Un_champs(choixTeme & "_NOSCN")
- "Image":
- sprite(22).visible = 0
- member("install").text = "Copier l'image"
- go("images")
- "Gif":
- sprite(22).visible = 0
- member("install").text = "Copier l'image"
- go("gif")
- "Video":
- member("install").text = "Copier la vidéo"
- capture = theme
- Nbre_video = cherche_video(dossier, theme, 1)
- if Nbre_video <> "plusieurs_Film" then
- go("video")
- else
- Un_champs(choixTeme & "_NOSCN")
- end if
- "Quicktime":
- member("install").text = "Copier la vidéo"
- capture = theme
- Nbre_video = cherche_video(dossier, theme, 1)
- if theme = "Bandes-Annonces" then
- sprite(43).visible = 1
- end if
- if Nbre_video <> "plusieurs_Film" then
- go("mov")
- else
- Un_champs(choixTeme & "_NOSCN")
- end if
- "son":
- member("install").text = "Copier le son"
- capture = theme
- Un_champs(choixTeme & "_NOSCN")
- "police":
- capture = theme
- member("install").text = "Copier sur le disque"
- Un_champs(choixTeme & "_NOSCN")
- end case
- "1":
- Un_champs(choixTeme & "_SCN")
- otherwise:
- Deux_champs(choixTeme & "_SCN")
- end case
- end if
- end
-