Re: current frame number
- Subject: Re: current frame number
- From: Pierre-Olivier Latour <email@hidden>
- Date: Mon, 28 Nov 2005 08:58:12 -0800
- Delivered-to: email@hidden
- Delivered-to: email@hidden
How can I make QC animation that is base on the current frame number
rather than time based?
You would need to maintain a frame counter using a JavaScript patch,
which would increase the value on its output by 1 every time it is
executed
something like that:
var temp = outputs[0];
if(temp == undefined)
outputs[0] = 0;
else
outputs[0] = temp + 1;
________________________________________________________
Pierre-Olivier Latour email@hidden
Quartz Composer Architect Graphics & Imaging Team
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.