• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie Alert: NSMovieView with control won't update when movie changes.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Newbie Alert: NSMovieView with control won't update when movie changes. (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: Newbie Alert: NSMovieView with control won't update when movie changes.
  • Next by Date: Re: Java or C++ for cross-platform Cocoa/.NET?
  • Previous by thread: Re: Newbie Alert: NSMovieView with control won't update when movie changes.
  • Next by thread: carbon in cocoa sample works. almost.
  • Index(es):
    • Date
    • Thread