home *** CD-ROM | disk | FTP | other *** search
- global line_select2, line_select, oldline, oldline2, forchoix2, rollchoix2, selectchoix2, theme, soustheme1, soustheme2, entreListe2, imporjpg, total_teme, n, entreListe
-
- on mouseDown
- if line_select2 <> VOID then
- set the foreColor of line line_select2 of member the memberNum of sprite the currentSpriteNum to forchoix2
- end if
- if the mouseLine = -1 then
- nothing()
- else
- line_select2 = the mouseLine
- soustheme1 = member(the memberNum of sprite the currentSpriteNum).line[line_select2]
- member("choix2").foreColor = forchoix2
- entreListe = 0
- line_select = VOID
- oldline = 0
- end if
- cursor(-1)
- end
-
- on mouseLeave me
- entreListe = 0
- set the foreColor of line oldline2 of member the memberNum of sprite the currentSpriteNum to forchoix2
- cursor(-1)
- end
-
- on mouseWithin
- entreListe = entreListe + 1
- if the mouseLine <> -1 then
- leNom = the mouseLine
- mouse_sur_line(leNom)
- if entreListe = 1 then
- oldline2 = leNom
- end if
- oldline2 = leNom
- end if
- cursor(280)
- end
-
- on prepareFrame me
- line_choisie()
- end
-
- on mouse_sur_line X
- if X <> oldline2 then
- if oldline2 = line_select2 then
- nothing()
- else
- set the foreColor of line oldline2 of field the memberNum of sprite the currentSpriteNum to forchoix2
- end if
- if X = line_select2 then
- nothing()
- else
- set the foreColor of line X of member the memberNum of sprite the currentSpriteNum to rollchoix2
- end if
- else
- if X = line_select2 then
- nothing()
- else
- set the foreColor of line X of member the memberNum of sprite the currentSpriteNum to rollchoix2
- end if
- end if
- end
-
- on line_choisie
- global line_select2
- if line_select2 <> VOID then
- set the foreColor of line line_select2 of member the memberNum of sprite the currentSpriteNum to selectchoix2
- else
- if line_select2 <> VOID then
- set the foreColor of line line_select2 of member the memberNum of sprite the currentSpriteNum to forchoix2
- end if
- end if
- end
-