gettingstarted
[Top] [All Lists]

QTTrack Methods - more info?

To: gettingstarted at lists dot realsoftware dot com
Subject: QTTrack Methods - more info?
From: Jeremy Raub <jeremyraub at earthlink dot net>
Date: Wed, 27 Oct 2004 17:54:00 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
I have a question regarding the QTTrack methods FindFirstSample, FindNextSample, FindFirstKeyFrame, FindNextKeyFrame.

It is unclear in the Language Ref, what these methods actually do. I have successfully created a QTTrack (from an EditableMovie) and been able to reference its properties. (ie MediaType, Enabled, Duration, etc...) However, when I call the above mentioned methods, nothing seems to happen. I'm assuming that if there was some sort of data returned here that I would get a compiler error message telling me that I need to use the value returned by this function, but I don't get any such errors. Here's my code.

  dim VidTrack as new QTtrack
VidTrack=Window1.MoviePlayer1.MyMovie.VideoTrack(1) // MyMovie is a an EditableMovie property
 // MsgBox VidTrack.MediaType // This worked fine...returned "vide"
  VidTrack.FindFirstSample
  Window1.refresh

I guess what I'm expecting to happen here is for MoviePlayer1 to locate to the "First Sample", but of course, it's not.

Any insight would be greatly appreciated.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>