*Preferences() - Video Files
Indicates the settings of global preferences.
Syntax
*Preferences (0/1, 0/1, 0/1, color)
Application
MediaView
Inputs
- 0/1
- Turns the timestep indicator off/on.
- 0/1
- Turns the frame number indicator off/on.
- 0/1
- Turns the filename indicator off/on.
- color
- Sets the background color (0-63).
Context
*BeginVideo()
*BeginWindow()
Example
*BeginWindow(Video)
*IsActive()
*BeginVideo()
*Preferences(0, 0, 0, 0)
*OverlaySettings(1, 10, 0)
*BeginNote(On, "Note 2")
*Position(0.642254, 0.309429)
*Text("Video File One")
*Font("", 0, 0, 20)
*Color(1)
*BorderWidth(1)
*NoteAlignment(Left)
*EndNote()
*LoadVideo("D:/AMF_AVI/filterrhomb1.amf")
*LoadOverlay("D:/AMF_AVI/filterrhomb2.amf")
*ZoomRect(0, 0, 450, 315)
*Stretch(1)
*MarkerCenter(-1, -1)
*BeginHeader(On)
*PrimaryFont("Arial", 0, 0, 14)
*SecondaryFont("Arial", 0, 0, 10)
*TertiaryFont("Arial", 0, 0, 10)
*Color(1)
*EndHeader()
*EndVideo()
*EndWindow()