home *** CD-ROM | disk | FTP | other *** search
- global gGoFlag, gCursorIndex, greturnmovie, gvideo, gCustompath, gSoundObj, gMasterObj, gMyMovie
-
- on startMovie
- set the volume of sound 2 to 127
- autoUnloadMovie(gMasterObj)
- autoLoad(gMasterObj, 29, 271)
- set the actorList to []
- append(the actorList, gSoundObj)
- playSoundTrack(gSoundObj, "menu", 1, 255)
- set greturnmovie to the movieName
- set gvideo to "arma.icv"
- set gCursorIndex to the memberNum of member "myCursor"
- set gGoFlag to 0
- repeat with i = 1 to 3
- set myMember to getAt(["largeRock", "mediumRock", "smallRock"], i)
- set myTargetG to getAt(["trail.PCT", "game.PCT", "abort.PCT"], i)
- set myPos to point(640 / 4 * i, 240)
- set mySound to getAt(["lEX", "mEX", "sEX"], i)
- set myMovie to getAt(["Movie5", "Intro", "menuMAIN"], i)
- set newRock to new(script "asteroidScript", myMember, myPos, mySound, myTargetG, myMovie)
- end repeat
- end
-
- on goMovie whichMovie
- set gMyMovie to whichMovie
- go("safe")
- end
-
- on playSound whichChannel, whichSound
- puppetSound(whichChannel, 0)
- puppetSound(whichChannel, whichSound)
- end
-
- on stopMovie
- end
-