Setting QTMovie attributes
Posted
by Josh Matthews
on Stack Overflow
See other posts from Stack Overflow
or by Josh Matthews
Published on 2008-10-14T16:52:27Z
Indexed on
2010/06/05
22:52 UTC
Read the original article
Hit count: 254
I'm trying to create a QTVR movie via QTKit, and I've got all the frames in the movie. However, setting the attributes necessary doesn't seem to be having any effect. For example:
NSNumber *val = [NSNumber numberWithBool:YES];
[fMovie setAttribute:val forKey:QTMovieIsInteractiveAttribute];
val = [NSNumber numberWithBool:NO];
[fMovie setAttribute:val forKey:QTMovieIsLinearAttribute];
If I then get the value of these attributes, they come up as NO and YES, respectively. The movie is editable, so I can't understand what I'm doing wrong here. How can I ensure that the attributes will actually change?
© Stack Overflow or respective owner