Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
PlayVideoWin7 GetPath(5) & "Squatch Intro.mp4", 1, 9
timelapse = 448
Action.CreateTimedEvent 56, "timelapse = timelapse-56:If timelapse <= 0 then StopVideoWin7(9):Action.GoToFrame ""Intro - Bedroom Alarm_on""", True
Sub StopVideoWin7(ChannelNumber)
If ChannelNumber < 9 Then
'With VBScript it is currently not possible to interact with the 8 first video channels.
MsgBox "The specified audio channel is invalid.", vbCritical, "Error"
Exit Sub
End If
If Action.DoesComponentExist("MediaPlayer" + CStr(ChannelNumber)) = true Then
Component("MediaPlayer" + CStr(ChannelNumber)).Object.Stop
RemoveComponent "MediaPlayer" + CStr(ChannelNumber)
End If
End Sub
Return to How to make pictures, sounds, and videos
Users browsing this forum: No registered users and 1 guest