Re: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
Re: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
- Subject: Re: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
- From: Darrin Cardani <email@hidden>
- Date: Mon, 26 Nov 2007 10:44:51 -0800
On Nov 19, 2007, at 10:47 AM, Benjamin Kent wrote:
Essentially, yes, I do want to just set keyframes on check boxes.
But the behaviour we need is that the box is checked on a given
frame unless the user has explicitly unchecked it at that frame.
Now, with a normal keyframeable check box with a default value of
checked, when the user sets the first keyframe by unchecking a box,
it will uncheck the box at all frames. So we need to set a keyframe
either side of this frame to stop this happening.
So, given a sequence with the check box represented by a binary
value, and bold indicating a keyframe, the default state is:
1 1 1 1 1 1 1 1 1
The user then sets a keyframe by unchecking the box at a frame - the
normal behaviour would be:
0 0 0 0 *0 *0 0 0 0
Whereas we want this behaviour:
1 1 1 1 *0 *1 1 1 1
So we set the keyframes either side:
1 1 1 *1 0 1 *1 1 1
One way round this I suppose would be to automatically set a
keyframe with value 1 at every frame when initializing the plug-in.
But frankly this is all a little moot being as there aren't
keyframeable check boxes anyway :)
Sorry I didn't get back to you sooner. We were out of the office all
last week for a holiday. I think I get what you're doing now. I still
think it's highly confusing for users, though.
If this makes sense now, you couldn't expand on your idea for a
timeline in a custom control could you?
Well, I didn't have a whole lot of details in mind. What I was
thinking of was that instead of creating a regular checkbox, you'd
create a custom control. In that control, you'd create your own
timeline. You should be able to use the FxTimingAPI to get information
about the length of the clip you're applied to. You'd need to create
some sort of UI for the user to go to a specific time, and allow them
to set the value of the check box at that time.
Or any other ideas that come to mind. I haven't had a chance to try
the timer approach yet - I'll give it a go, but as you say it's not
ideal - sounds bound to come back and bite me.
I agree. I'm hoping we can get this functionality into the app in the
future so you don't need any workarounds, but it will have to go
through the entire process, so it will be a while before it gets into
users hands.
Darrin
--
Darrin Cardani
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden