airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
29.86k stars 2.85k forks source link

Javascript Expression Engine #2900

Closed marikreasidigital closed 1 year ago

marikreasidigital commented 1 year ago

Hi there,

i have an issue with lottie files that exported from Adobe AE (latest CC), that has Javascript as the Expression engine. what i need is to get the font color from a text layer, into a shape color, but it does not work as intended

Project settings image

on AE, it shows that the shape is getting the text layer font color image

it is a Fill effect, tied to text style - i also added 'use javascript' image

but when exported, the shape are revert back to its original color image

is there a workaround for this issue? getting the font color using 'Legacy Extendscript' is not possible afaik, so it has to be Javascript expression engine

marikreasidigital commented 1 year ago

Bodymovin export settings image

bodymovin commented 1 year ago

hi, can you share a basic .aep with the issue that I can test?

marikreasidigital commented 1 year ago

Github.zip Sure, files attached , thank you :)

bodymovin commented 1 year ago

the fill color style wasn't supported from expressions. I've added support now, but it will be available on the next version

marikreasidigital commented 1 year ago

Thank you Hernan, really appreciate it

marikreasidigital commented 1 year ago

Working as intended with version 5.10.2