Thanks. So it looks like I¹m going to have to poll it. I guess I also need to publish a constant flag I can read to determine if it is ³one-shot² or ³continuous² play. In the latter case, I want the user to be able to move it around the screen (i.e., move the layer position to the mouse click). In the former, I want the composition to ³finish² and fade out. In that case, I might just code the layer to ramp the opacity down to zero before removing it to save having to put the fade in each composition.
On 1/6/09 6:54 AM, "Chris Wood" <[email protected]> wrote: > The way I handle this (a lot of my stuff is 'fixed length') is to have a main > patch time patch somewhere, with a math expression patch connected to > determine if the composition is ended (use "time>100" say, the output will > then go high when it reaches the end). You can publish that, and check the > port in your code to end the playback properly. > > Chris > > > 2009/1/6 Christopher Wright <[email protected]> >>> What I need some kind of call-back or other way to know if a composition >>> finishes so it will automatically unclick the button. How do I do that? >>> (If there is a way to put some kind of notifier at the end of the >>> composition, I can live with that.) >> >> >> Compositions are "timeless" -- they don't have a duration associated with >> them. >> >> You might be able to add an output to compositions used that indicated >> done-ness, otherwise you'll have to time them manually or something. >> >> -- >> [ christopher wright ] >> [email protected] >> http://kineme.net/ >> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Quartzcomposer-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com >> >> This email sent to [email protected] > > G. Apple
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

