The MediaPlayer can be used to play audio files. See the media player tutorial for more information. NOTE: The media player should be declared as a process global object. The Complete event is raised when playback completes. It will only be raised if you initialize the object with Initialize2.