Method
FolderItem.OpenAsMovie
Warning
This item was deprecated in version 2019r2. Please use Movie.Open as a replacement.
Description
Opens the FolderItem to be read as a movie and returns its movie as a Movie object.
Notes
Nil is returned if the movie can't be read.
Sample code
This example displays an open-file dialog box that lets the user select a QuickTime movie. The QuickTime movie is then copied into the Movie property of a MoviePlayer control.
Dim f As FolderItem
f = GetOpenFolderItem("video/quicktime")
If f <> Nil Then
MoviePlayer1.Movie = f.OpenAsMovie
End If
Compatibility
All project types on all supported operating systems.