Difference between revisions of "FolderItem.OpenResourceMovie"

From Xojo Documentation

m (Text replacement - "{{Deprecated" to "{{DeprecatedItem")
Line 1: Line 1:
| itemtype = property
| itemtype = property
| version = 2019r1
| version = 2019r1

Latest revision as of 19:05, 3 September 2020


FolderItem.OpenResourceMovie(ResID as Integer) As Movie

Supported for all project types and targets.

Opens the movie specified by ResID as a movie (Macintosh only).


Used only if the movie is stored as a MooV resource. Use OpenAsMovie for QT 4.0 (and greater) files.


The following code accesses the resource movie numbered 1. The video/mp4 file type has been added to the project by the File Types Editor.

Dim f As FolderItem
Dim m As Movie
f = GetOpenFolderItem("video/mp4")
If f <> Nil Then
m = f.OpenResourceMovie(1)
MsgBox("Open failed.")
End If