home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- if the visible of window "Help" then
- tell window "help"
- go("mix2")
- end tell
- end if
- end
-
- on mouseLeave
- if the visible of window "Help" then
- tell window "help"
- go("start")
- end tell
- end if
- end
-
- on mouseDown
- if not (the visible of window "help") then
- repeat while the mouseDown
- set the memberNum of sprite 45 to the number of member "HsaveMix"
- updateStage()
- end repeat
- end if
- end
-
- on mouseUp
- global gSong, gPath, vmixlist, durationList
- if not (the visible of window "help") then
- cursor(4)
- set the memberNum of sprite 45 to the number of member "saveMix"
- updateStage()
- set myFile to new(xtra("fileio"))
- setFilterMask(myFile, ".txt")
- set nameFile to displaySave(myFile, "Save V_Mix window", EMPTY)
- createFile(myFile, nameFile)
- openFile(myFile, nameFile, 2)
- writeString(myFile, gSong && "v_mix" & numToChar(13) & numToChar(10))
- repeat with i = 1 to 4
- writeString(myFile, getAt(vmixlist, i))
- end repeat
- set durata to EMPTY
- repeat with i = 1 to 4
- set durata to durata & getAt(durationList, i) & " "
- end repeat
- writeString(myFile, durata)
- closeFile(myFile)
- set myFile to 0
- cursor(-1)
- end if
- set the editable of member "fieldBpm" to 0
- end
-