Тёмный
No video :(

After Effects: Resize Textbox Hack with Expressions 

Creative Dojo
Подписаться 106 тыс.
Просмотров 28 тыс.
50% 1

Special thanks to our sponsors Squarespace. For a free trial and 10% off, visit www.squarespac... and use the promo code: DOJO
Tip originally by Ross Owens: / ro_motion
Responsive Auto Scale Preset: creativedojo.n...
Today we'll learn how to use some clever expressions in After Effects to manually control textbox sizes with sliders. This can be a handy trick if you're trying to resize the textbox dynamically, whether for UI/UX animations or other reasons.
▸ Creative Dojo Store: creativedojo.n...
▸ Best Plugins for Motion Design & VFX: kit.co/Creativ...
▸ Best After Effects Templates: videohive.net/...
Disclaimer: Some of the links provided are affiliate links. Creative Dojo may earn a small commission for purchases, at no extra cost to you. It's a great way to support the channel if you enjoy our content.
Follow the Dojo:
▸ Website: creativedojo.net
▸ Twitter: / creativedojo
▸ Instagram: / creative.dojo
▸ Facebook: / creativedojo
Creative Dojo creates motion design & visual effects training, design tools, and industry content. Join the community, get access to powerful design tools and assets, and learn everything related to After Effects, Cinema 4D, and much more.

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@peterheynen
@peterheynen 2 года назад
Wow, this concept for a workaround is so simple and genius at the same time. This is a very smart solution for a problem I was struggeling already for a long time for data driven MOGRTs. Thanks 1.000.000 times!
@CreativeDojo
@CreativeDojo 2 года назад
It's a pretty clever trick, wish I could take credit for it! Thanks for the feedback!
@peterheynen
@peterheynen 2 года назад
@@CreativeDojo well, even it is not your invention, you explained the concept bhind this trick very good and I am so thankful that you shared it with the community :-)
@llealloo
@llealloo 10 месяцев назад
in order to get line spacing to work as expected, I had to change: text.sourceText.style.setFontSize(textSize / s).setLeading(textSize * lineHeight * s); to text.sourceText.style.setFontSize(textSize / s).setAutoLeading(false).setLeading(textSize * (lineHeight / s));
@_delleps_
@_delleps_ 8 месяцев назад
Thank you!
@_casg
@_casg 4 месяца назад
God I just spent a whole day creating expression Just to control my font on a box And then I find this golden tut Which could of saved me 5 hours
@fuoser
@fuoser 4 месяца назад
omg i looked for this forever. thanks so much!
@manyourcoolchris
@manyourcoolchris 4 месяца назад
Incredibly helpful. Thank you so much!
@YeggorPsh
@YeggorPsh 9 месяцев назад
I was looking for this tutorial several months!!! Thank you very much!🤝🙏💪
@akthammusa3336
@akthammusa3336 Месяц назад
Fantastic , Thanks a lot
@jitheeshparappuram551
@jitheeshparappuram551 Год назад
What if we want to make height & width as separate slider control? Is it possible?
@_delleps_
@_delleps_ 8 месяцев назад
Thanks for sharing this useful technique!
@srinivasnahak3473
@srinivasnahak3473 3 месяца назад
Thank you so much for this
@charlesm835
@charlesm835 Год назад
This is an great use of expression with text, thanks for sharing!
@thi3761
@thi3761 2 года назад
Your handy little tip really helps, thanks
@CreativeDojo
@CreativeDojo 2 года назад
Np bb
@riigel
@riigel 7 месяцев назад
I just hope the Adobe Ae team make this text box available to access in expressions!
@jamesjosephides
@jamesjosephides Год назад
Thanks so much for this! So very helpful. Is there any way to make the alignment fix to the corner? So the position of the autoscale stays within a corner frame?
@TheCelecis
@TheCelecis 8 месяцев назад
can't you do this without effect controls? cause I wan't a dynamic textbox that lottie can actually render ... it doesn't render effect controls x.x like, help
@zaxk5331
@zaxk5331 Год назад
how do i get the red scale back around the text
@szym_89
@szym_89 6 месяцев назад
My after effets is crushing after setting command sourceText. any idea why it's happening ?
@szym_89
@szym_89 6 месяцев назад
Fun fact, on macbook it's work on windows doesn't. Any idea why ? In windows this code is automaticlly crashing all file.
@CamTooling
@CamTooling 4 месяца назад
It still pisses me off that we don't get expression support for text boxes by Adobe. It's just a goddamn box, how hard is it to implement?
@guysb8370
@guysb8370 Год назад
hi! can I have the link for the video that is 9:05?
@Hannes007
@Hannes007 Год назад
I get an error on the scale expression, which tells me that the result must be of dimension 2, not 1. I did everything exactly the way you showed in your video. i am so frustrated. evertime i try using expressions, it doesnt work
@ececelenk1375
@ececelenk1375 Год назад
I get the same error in the originalBoxWidth = 1920 line as well. Did you find a workaround of that problem?
@muhamadbagus9327
@muhamadbagus9327 Год назад
same bro, did you already solve that problem?
@michaelmontoya
@michaelmontoya 11 месяцев назад
@@muhamadbagus9327 paste your code here that you are using in the scale
@Rafamurcia01
@Rafamurcia01 9 месяцев назад
solved it: in the scale box the last line must say value * s; You must be typing value = s; and thats the error
@RapidBlindfolds
@RapidBlindfolds 8 месяцев назад
why tf is this 9 minutes long 😭
@riccardopellin3795
@riccardopellin3795 2 года назад
Hi, Finally found what I was looking for ( I need to animate the text box at the start with a set width and at the and with a different one)! But I have a problem with the string "text.sourceText.style.setFontSize(textSize / s);", After advice me with the triangular sign that "style" is not available or misspelled (which is not true). Can you help me? Thk a lot. P.S. I have the latest version of AE
@rgrant
@rgrant Год назад
File > Project Settings > Expressions set it to JavaScript
@ireneaybarpeinado2697
@ireneaybarpeinado2697 Год назад
@@rgrant OMG THANK YOU!
Далее
sourceRectAtTime(); | After Effects Expressions
34:33
Просмотров 132 тыс.
Useful gadget for styling hair 💖🤩
00:20
Просмотров 2,1 млн
After Effects: Resize Text within Textbox using Slider
9:38