home *** CD-ROM | disk | FTP | other *** search
- on exitFrame me
- global plailist, csong, channel, ft, tim, rndmenu
- if sound(channel).isBusy() = 0 then
- ft = 0
- changesong()
- end if
- if not (the mouseDown) and (ft = 1) then
- sendSprite(44, #mSetConstrainPos, 1 - (sound(channel).volume / 255.0), 0)
- end if
- if (the ticks - tim) > (15 * 60) then
- put (the ticks - tim) / 60
- oldm = member("sfondo._fake")
- rmenu = random(5)
- repeat while rndmenu = rmenu
- rmenu = random(5)
- end repeat
- rndmenu = rmenu
- imaging(8, member("main" & rndmenu), oldm)
- tim = the ticks
- end if
- go(the frame)
- end
-