Media
global instance
The Media library contains functionality for playing and controlling sound effects, music and movies. You can control the playback of movies in the cinematic window.
Functions and Enumerations
- Instance Functions
Functions that are called with an instance of the Media class.
- playSound( filename )
Play a sound effect
- playMusic( filename )
Play a background music track
- playMovie( filename )
Play a cinematic movie in the cinematic window
- stopMovie( )
Stop a cinematic movie that is playing
- stopSounds( )
Stops all playing sounds.
- playSound( filename )