Forum Replies Created

Viewing 91 - 100 of 104 posts
  • Adam Greenberg

    February 18, 2021 at 8:39 pm

    Kevin, I should also note that the above expression is forcing after effects to consider this added text in the auto – centering. It should not. It is almost like a trademark, it should not be considered at all in the design.

  • Adam Greenberg

    February 18, 2021 at 8:28 pm

    Thanks very much Kevin. I will try this, but let me add one more thing I forgot to mention.

    Let us assume the small text is not a text layer but a precomp. so the size does not need to change, it has been predetermined.

    would anything change in this workflow ?

  • Adam Greenberg

    January 26, 2021 at 10:41 pm

    Kevin, what if I don’t want to parent it. I may have other things that the text layer is doing that I don’t want the null to follow. I figured out how to modify the beginning by writing the following;

    rect = thisComp.layer(“titre”).sourceRectAtTime() ;

    y = + rect.height ;

    value + [ 0, y-160 ]

    but the problem is the null moves exponentially away from the text, as the text goes into more and more lines. I’m sure it’s an easy fix but I cant figure out the logic on this one, especially

    Thanks again for any help

  • Adam Greenberg

    January 26, 2021 at 10:24 pm

    Thanks Kevin, yes this looks amazing. I’m going to try this.

    Thanks so much

  • Adam Greenberg

    January 26, 2021 at 10:23 pm

    Trent, it was showing an error the way I wrote it. But I have no way of knowing the exact problem. your expression works perfectly. Thanks so much

  • Adam Greenberg

    April 5, 2018 at 4:59 pm

    Thanks Scott, I’ll try it out,
    what is the purpose of this though ?
    thisComp.width, thisComp.height/2

    And also, any thoughts on the bezier curve of the 90 velocity ? I’m sure there must be a way.

    If not,
    I thought of a work around which would be to precomp the animation afterwards and time remap it frame by frame to mimic that movement. It may seem tedious but the user would never have to touch that precomp. It would be locked and hidden in the main comp. And it would work regardless of where the positions have been moved to.


  • Adam Greenberg

    March 29, 2018 at 6:02 pm

    I think that must be it, if the text is 400 pixels from the left of the comp within the precomp, then the expression should be;

    gap = 200;
    L = comp("text precomp").layer("text layer");
    rect = L.sourceRectAtTime(time,false);
    x = L.toComp([rect.left+rect.width,0])[0];

  • Adam Greenberg

    March 29, 2018 at 5:18 pm

    It appears to be monospaced,
    but yes, I want the left edge of that solid to be centered on the text width so that if the amount of characters are odd, then the solid would technically be in the middle of the middle character.

    But in all honesty, it is not a deal breaker if its not 100% exact. This solid will be a mask, and the text precomp ( and mask ) will be there twice, animated towards each other so that the text seems to collapse in on itself in the middle while disappearing. So the fact that the center is not mathematically exact will not be noticed by anyone.

    But before anyone suggests another way to accomplish this, it should me noted that this is only part of a project with other things going on that i have not mentioned. It was not my project but I`ve been assigned to re-work it into a template. So actually solving this expression I would think could prove useful in other projects in the future.

    *note – perhaps there is something I cant figure due to the fact that the text is not justified to the left of the comp, it is more like 400 pixels from the left, but still left justified in the paragraph properties ( meaning the first character is always in the same place )

  • Adam Greenberg

    June 2, 2016 at 4:47 pm

    Wow, yup. Ok thanks. I was expecting a few of the lines above to be edited, but this is even simpler that I thought, I wish I could find more resources on the actual language.

    Thanks a lot Dan

  • Adam Greenberg

    June 2, 2016 at 12:03 pm

    excellent, thanks

Viewing 91 - 100 of 104 posts

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy