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 */