Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Clippings/CreateMovie.c/CreateMovieFromDataRef.txt
// Create the movie file using a URL data reference. This |
// URL is added to the movie as a streaming movie track. |
// We make sure and pass the newMovieAsyncOK flag to enable |
// us to query the state of the movie as it loads via the |
// GetMovieLoadState function. |
err = NewMovieFromDataRef(&theMovie, /* the movie */ |
newMovieActive | newMovieAsyncOK, /* flags */ |
nil, /* don't return resource id of movie resource */ |
dataRef, /* the data reference */ |
URLDataHandlerSubType); /* the type of data reference */ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14