On Fri, 30 Sep 2005, Paul Loy wrote:
> I'm trying to limit playback between two frames, like 0 and 156. I'm trying
> to use the setPlaySelection, setSelectionStart and setSelectionDuration of
> the MovieController class but am finding it hard to know what to send the
> TimeRecord to get it to limit correctly.
I couldn't make setSelectionStart/setSelectionDuration work either.
I ended up using setActiveSegment. Here's a snippet from my code.
timein = camera.timein;
timeout = records[len - 1].timein;
ti = new TimeInfo(timein, timeout - timein);
m.setActiveSegment(ti);
t.setActive(true);
Good luck,
Ron
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden
This email sent to email@hidden