Search found 7 matches

by Ryberg
May 27th, 2013, 12:33 pm
Forum: Expression Discussion
Topic: negative to positive value
Replies: 2
Views: 17367

Re: negative to positive value

I managed to solve it, I'm happy again.

Code: Select all

x=(thisComp.layer("Adjustment Layer 3").effect("Slider Control")("Slider") *.35);
if (x < 0) x*-1;
by Ryberg
May 27th, 2013, 11:20 am
Forum: Expression Discussion
Topic: negative to positive value
Replies: 2
Views: 17367

negative to positive value

This one should be very easy but my knowledge on expression scripts is very limited so I call for help. A camera lens blur effects' blur radius is linked to a slider control and I would like it to turn the value up according to the sliders negative AND positive values, so: Slider 50 = Blur radius 50...
by Ryberg
December 1st, 2009, 2:30 am
Forum: Expression Discussion
Topic: opacity according to another layers time remap
Replies: 7
Views: 16225

Re: opacity according to another layers time remap

thanks for the replies.
I tried the expression in a new project now, and it works fine.

I tried debugging yesterday using alert(); but that just made AE disable the expression.
by Ryberg
November 30th, 2009, 2:43 pm
Forum: Expression Discussion
Topic: opacity according to another layers time remap
Replies: 7
Views: 16225

Re: opacity according to another layers time remap

kobyg wrote:I've tried your exact expression on my computer and it worked with no problem...
Well, I can't seem to spot any errors in the expression either. Weird it's not working for me.
by Ryberg
November 30th, 2009, 6:29 am
Forum: Expression Discussion
Topic: opacity according to another layers time remap
Replies: 7
Views: 16225

Re: opacity according to another layers time remap

I set some held keyframes on the time remap layer, for example: 1, 2, 4, 3, 1, 2, 1, 4
What I want is for the other layer with the opacity expression, to be at 0% when time remap = 1 and 100% at all other time remap values.
by Ryberg
November 30th, 2009, 5:31 am
Forum: Expression Discussion
Topic: opacity according to another layers time remap
Replies: 7
Views: 16225

opacity according to another layers time remap

Hello expressioneers,

I tried to create an expression on a layers opacity to let it be controlled by another layers time remapping. It doesn't work, the layers opacity is constant 100 and I don't know why.

Code: Select all

if (timeToFrames(thisComp.layer("PigOnPlate_Eyes").timeRemap)==1) 0 else 100;
by Ryberg
October 21st, 2009, 12:42 pm
Forum: General Scripts Library
Topic: Mr. Multplane 1.5 for CS4 ScriptUi Panel
Replies: 1
Views: 12777

Re: Mr. Multplane 1.5 for CS4 ScriptUi Panel

This is absolutely amazing!

Thank you Mads. Thank you very much!