PlaySlideshow()

Summary

Plays a multimedia slideshow.

Syntax

PlaySlideshow(array slideshow, array options)

Argument Contents
slideshow An array of slides; each slide consists of a five-element array {file_name, time, title, start, end}

No options are currently supported.

Notes

  • For image files, the time is the number of seconds to display the image; a null value is interpreted as "wait for user input."

  • For wav files, a null value for the time means wait for user input when done, 0 means to start the wav file and continue with the show, and 1 means to continue only when the file has finished playing.

  • For movie files, a null value for the time means wait for user input upon completion; non-null means continue with the slideshow when the movie is done.

  • The start and end elements are not currently used.

  • Currently only bmp, avi, and wav files are supported.

  • wav files will only be played if the relevant device can be found.

Example

PlaySlideshow({{"mozart.wav", 0,,,}, {"portrait.bmp",,"Wolfgang Amadeus Mozart",,}},)

See Also

Function Summary
GetAVILength() Returns the number of frames in the AVI file
GetWAVLength() Returns the length of the WAV file in seconds