Re: Newbie Alert: NSMovieView with control won't update when movie changes.
Re: Newbie Alert: NSMovieView with control won't update when movie changes.
- Subject: Re: Newbie Alert: NSMovieView with control won't update when movie changes.
- From: Scott Andrew <email@hidden>
- Date: Mon, 07 Jun 2004 15:29:28 -0700
Discovered what I need to do..
I need to not set the movie in the view until I have at least one track in
my master movie. If I set the movie in the NSMovieView after I load at least
one track then all is ok.
Scott Andrew
>
From: Scott Andrew <email@hidden>
>
Date: Mon, 07 Jun 2004 15:17:54 -0700
>
To: "Douglas A. Welton" <email@hidden>, Dietmar Planitzer
>
<email@hidden>
>
Cc: Cocoa Posting <email@hidden>
>
Subject: Re: Newbie Alert: NSMovieView with control won't update when movie
>
changes.
>
>
Still not working.. I know that if I resize the window first which causes
>
the view to invaliate and I get junk then load my movie all is fine. I am
>
wondering if I should put a black PICT in there so something is loaded on
>
startup, even if it's only one frame.
>
>
I am stumpped.
>
>
> From: "Douglas A. Welton" <email@hidden>
>
> Date: Mon, 07 Jun 2004 14:50:09 -0400
>
> To: Scott Andrew <email@hidden>, Dietmar Planitzer
>
> <email@hidden>
>
> Cc: Cocoa Posting <email@hidden>
>
> Subject: Re: Newbie Alert: NSMovieView with control won't update when movie
>
> changes.
>
>
>
> Scott,
>
>
>
> Have you tried doing a -setMovie: on the NSMovieView after you have altered
>
> the original Movie (NSMovie)? I am wondering if the NSMovieView has
>
> "cached" a copy of the original NSMovie or whether NSMovie has "cached" a
>
> copy of your -QTMovie or something like that has tossed a fly in the
>
> ointment.
>
>
>
> just a thought...
>
>
>
> later,
>
>
>
> douglas
>
>
>
> On Jun 7, 2004, at 3:44 AM, Scott Andrew wrote:
>
>
>
>> I have a window with an NSMovieView put on the window in InterfaceBuilder. I
>
>> create a new empty movie using the quick time API. When the user clicks open
>
>> movie I create a new track in the movie I assigned to MSMovieView.
>
>>
>
>> If my NSMovieView has the controls showing, the view and movie control don't
>
>> update correctly. If the controls are not showing the movie updates
>
>> correctly.
>
>>
>
>> I have called NSMovieView's setNeedsDisplay with no luck..
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.