ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Can anyone tell me why this expression is not working?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
David Cabestany
Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 4:22:32 pm

I'm not getting an error, it's just not doing what is supposed to, when the needle gets close to the out point the layer does not scale down.
The expression works fine with a one dimensional property.

Thanks in advance,
D.

fadeDur = .25;
s=ease(time,outPoint,outPoint-fadeDur,100,0);
[s,s];


Return to posts index

Dan Ebberts
Re: Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 4:48:20 pm

Try it this way:

fadeDur = .25;
s=ease(time,outPoint-fadeDur,outPoint,100,0);
[s,s];


Dan



Return to posts index

David Cabestany
Re: Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 4:54:28 pm

Didn't work.
Same as before, the expression is not broken, I can see the values red and all that, but nothing happens.

Maybe a bug?


Return to posts index


David Cabestany
Re: Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 5:14:16 pm

This is really strange.
The expression is working, but is using the comp duration instead of the layer out point.
When I applied it to a different layer inside a different comp it behaved as expected. It's only doing the odd behavior on this particular layer.

I even tried creating a new variable, but even with that, it goes all the way to the end of the comp.

oP=thisLayer.outPoint;
fadeDur = .5;
s=ease(time,oP,oP-fadeDur,100,0);
[s,s];


Return to posts index

Dan Ebberts
Re: Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 5:35:20 pm

I just tried it, and it works perfectly for me. I'm not sure why it doesn't work for you.

Dan



Return to posts index

David Cabestany
Re: Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 5:38:17 pm

Can I send you the project to take look? I just sent it to Adobe.


Return to posts index


Dan Ebberts
Re: Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 5:41:02 pm

Sure. Or post it here.

Dan



Return to posts index

David Cabestany
Re: Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 5:49:05 pm

Thanks Dan.

Here's the link:

https://dl.dropboxusercontent.com/u/35786640/outPointExpressionBUG.aep

It's a stripped down version, it only includes the offending comp and another one where I tested the expression.
Please take a look at layer 1 "hexagonos ventanas Comped" inside comp "hexagonos ventanas" and then take a look at layer 3 "CDFA-seal-7cm-2col-spacing.ai" inside comp "logos cert".

Both layers have the same expression applied, but on the first instance it does not acknowledge the out point of the layer and instead goes all the way to the end of the comp whereas on the 2nd example it works as expected.

Thanks a lot for your help Dan.


Return to posts index

Dan Ebberts
Re: Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 8:17:46 pm

That's pretty strange. For some reason, the expression thinks the outPoint of hexagonos ventanas Comped is 11.0. If you move the CTI to the end of the layer and trim the layer (Alt+]), the expression works. I don't get it.

Dan



Return to posts index


David Cabestany
Re: Can anyone tell me why this expression is not working?
on Dec 1, 2016 at 9:15:31 pm

Me neither, I used keyframes instead to complete the assignment, but I reported the issue to Adobe, let's wait and see what they have to say.

Thanks for taking the time to look into this.
D.


Return to posts index

David Cabestany
Re: Can anyone tell me why this expression is not working?
on Mar 27, 2017 at 8:27:00 pm

Hey Dan,

Remember this odd issue I had a couple months ago with this expression?
It just came back on a different project.

The expression is active, but it won't do anything.
I applied it on a different layer and it works as expected.

Di you ever figure out what was wrong? I couldn't.

fadeDur = .5;
ease(time,outPoint,outPoint-fadeDur,100,0)


Return to posts index

Dan Ebberts
Re: Can anyone tell me why this expression is not working?
on Mar 27, 2017 at 9:32:53 pm

No, I never figured it out. I noticed that if you trim the layer at its Out Point, the expression works. You can even undo the trim operation and it still works, so I don't know what's going on.

I'm actually not sure why the expression works at all though. As I recall, the 2nd parameter of ease() needs to be less than the 3rd parameter (I'm not sure that's still a requirement and I can't imagine it could cause the kind of behavior you're seeing).


Dan



Return to posts index


David Cabestany
Re: Can anyone tell me why this expression is not working?
on Mar 27, 2017 at 10:41:59 pm

Weird.
I'll report it to Adobe and see what they say.

Thanks,
D.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]