Re: Bug in 10.1 IB / Linker with NSMovieView
Re: Bug in 10.1 IB / Linker with NSMovieView
- Subject: Re: Bug in 10.1 IB / Linker with NSMovieView
- From: Vince DeMarco <email@hidden>
- Date: Mon, 8 Oct 2001 13:32:50 -0700
On Monday, October 8, 2001, at 01:05 pm, Ken Tabb wrote:
And so it was that Vince DeMarco said on 8/10/01 7:37 pm:
On Monday, October 8, 2001, at 02:15 am, Ken Tabb wrote:
Hi,
I was playing with the 10.1 devtools (on a 10.1 box of course), and
found
that, when setting the attributes of an NSMovieView in IB, the volume I
set (0.25, with 0 being silent and 1.0 being loud) made no difference at
all.
When, in my code I set [myMovieView setVolume:0.25] it worked a charm.
Is this a bug? Or am I being stupid? Setting the 'Looping' attribute in
IB did work though.
the volume is now set from the movie not the view. (Which is how
quicktime
works). the volume is a property of the movie not the view that displays
it.
look at
/Developer/Examples/InterfaceBuilder/bMoviePalette
for a bunch of code that shows how to get at all of the Quicktime api via
a cocoa application.
Hi Vince,
would it be a daft question to ask why it's included as an option in the
10.1 IB then?!
Because the behavior changed in one release, and we didn't go back and fix
it. Sorry. But i just removed the volume and rate options from the
inspector. So in some future release you will not see them there again.
Thanks again for your help in the past getting QT stuff to work in Cocoa,
You're welcome
vince