No, I'm not messing with the asynchronous property. I went into essentials and had no problem playing a (even my own) composition. Just for testing, I created a hierarchy, viewlayer:layer:layer:compositionLayer. No problem. Essentials still played it.
The only differences I can figure out is that Essentials loads it in awakeFromNib and I am loading it much later under user command. Also, my layer hierarchy uses your suggested CATiledLayer installed as a subview of the view's layer, what I call my "content" layer. My "attention" layer (a CALayer) is a sublayer of the content layer. The composition layer gets created and installed (by command) in the attention layer. Is there anything here that could break some essential link with the view/window that would prevent it from playing? Is there anything I could be missing in the environment? On 1/6/09 3:03 PM, "David Duncan" <david.dun...@apple.com> wrote: > On Jan 6, 2009, at 11:53 AM, Gordon Apple wrote: > >> Note: There is no equivalent to "play" for a composition (at least >> that I >> am aware of). I get the initial frame and no play. My composition >> layer is >> four levels deep: >> viewLayer:contentLayer:attentionLayer:compositionLayer. >> Other stuff, including movieLayers, work fine at that level. I'm >> using >> standard compositions (plus one of my own derived from the tutorial) >> which >> all play just fine independently and in Quartz Composer. > > Are you changing the asynchronous property of the QCCompositionLayer? > >> Is there something about " composition tracks the Core Animation >> layer time" >> that I am missing, on need to include? I notice that all of the >> sample code >> includes animating some parameter. I just want the composition to >> play. Do >> I need to be feeding it an animation "clock" signal to make it play? > > > Try replacing the composition in the CALayerEssentials sample > <http://developer.apple.com/samplecode/CALayerEssentials/index.html >> > > If it fails there, then there may be something stranger going on. If > not, determining how to replicate the issue from there and filing a > bug report may be your best option. > -- > David Duncan > Apple DTS Animation and Printing > G. Apple _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com