Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › Having some problems with dynamic text bubbles..

  • Having some problems with dynamic text bubbles..

    Posted by Håkon Hammer on October 31, 2018 at 2:44 pm

    So I watched Mikey’s tutorial on how to make chat bubbles that scale according to the text inside them (which works perfectly!) but I’m having some problems.

    What I’m trying to figure out is how to make it so it types and scales downwards (when there are more than 1 line) from the top-left corner and from bottom-right corner. It currently types from the bottom-left corner which is the receiver in this point of view. I’m looking to have a sender bubble and a special one that resembles the Messenger App in certain situations.

    I’ve been playing around with the parameters but I completely suck at expressions so I thought I’d ask here before my head explodes. Here’s how it currently looks.

    Thank you in advance! 🙂

    Text Layer:

    value-[0,thisLayer.sourceRectAtTime().height]

    Bubble Layer(Rectangle path properties):

    Size:
    W=thisComp.layer("Hey wanna see something really fucken’ rad dude?").sourceRectAtTime().width+150;
    H=thisComp.layer("Hey wanna see something really fucken’ rad dude?").sourceRectAtTime().height+100;

    [W,H]

    Position:
    value+[content("Bubble").content("Rectangle Path 1").size[0]/2,-content("Bubble").content("Rectangle Path 1").size[1]/2]

    Kalleheikki Kannisto replied 7 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • Kalleheikki Kannisto

    October 31, 2018 at 9:46 pm

    You probably just need to adjust the anchor point position and the alignment of the text.

    Kalleheikki Kannisto
    Senior Graphic Designer

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