home *** CD-ROM | disk | FTP | other *** search
- on voce
- global segno, voce
- set argo to "Sequenze"
- sound playFile 1, the pathName & argo & segno & voce & ".aif"
- end
-
- on tieni
- global segno, voce
- repeat while soundBusy(1)
- if the mouseDown then
- sound stop 1
- exit repeat
- end if
- end repeat
- end
-
- on automatico
- global INIZIO, play, voce, Lingua, filmvoce, chisono
- put EMPTY into field 62
- set voce to Lingua & 2
- set chisono to 5
- puppetSprite(10, 1)
- set the memberNum of sprite 10 to 38
- updateStage()
- set INIZIO to 1
- set play to 1
- movie()
- set INIZIO to 0
- if filmvoce = 0 then
- set filmvoce to 1
- voce()
- tieni()
- end if
- end
-
- on Svuota
- global tasto, filmato, vignetta, INIZIO, fine
- nascondi()
- if soundBusy(1) then
- sound stop 1
- end if
- if objectp(schermo) then
- forget(schermo)
- end if
- set fine to 0
- if (tasto <> 0) and not filmato then
- set tasto to 0
- puppetSprite(10, 1)
- set the memberNum of sprite 10 to 36
- updateStage()
- puppetSprite(8, 1)
- puppetSprite(9, 1)
- set the memberNum of sprite 9 to 29
- set the memberNum of sprite 8 to 8
- updateStage()
- end if
- end
-
- on STAMPA
- set doc to new(xtra("PrintOMatic"))
- register(xtra("PrintOMatic"), "POMX153-721-02745")
- setLandscapeMode(doc, 0)
- if not objectp(doc) then
- exit
- end if
- newPage(doc)
- drawStagePicture(doc, point(0, 0))
- if doJobSetup(doc) then
- updateStage()
- print(doc)
- end if
- set doc to 0
- end
-
- on HELP
- global Desinenza, ritornohelp, segno, chisono
- set chisono to 1
- set ritornohelp to the pathName & the movieName
- go(1, the pathName & "help" & segno & "SEQhelp" & Desinenza)
- end
-
- on hap
- global Lingua
- if Lingua = 0 then
- alert("Attenzione! Questa è solamente una versione Dimostrativa. Usate il quaderno per giocare o il cappello per tornare alla schermata principale")
- else
- alert("I'm sorry. This is only a demo version. Use the notebook to play or the hat to return to the main screen")
- end if
- end
-