AE Expressions in external JSX: how does it work currently?

Community Beginner ,
Apr 28, 2020

Copy link to clipboard

Copied

This is an edited version of my original post, which contained errors (I figured out my mistake).

 

But I would like to know if there is any reference available about how to format JSX/JSON files to use with the footage() method. I want to be able to build an external functions library. Thanks!

Hello. Here is a github repo with exactly what you want to do. You have an exmple of how the file can look like and how to use it. If you look at the user's repos, you will find some more similar.

 

https://github.com/motiondeveloper/eKeys

TOPICS
Error or problem, Expressions, How to, Import and export, Scripting

Views

660

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

AE Expressions in external JSX: how does it work currently?

Community Beginner ,
Apr 28, 2020

Copy link to clipboard

Copied

This is an edited version of my original post, which contained errors (I figured out my mistake).

 

But I would like to know if there is any reference available about how to format JSX/JSON files to use with the footage() method. I want to be able to build an external functions library. Thanks!

Hello. Here is a github repo with exactly what you want to do. You have an exmple of how the file can look like and how to use it. If you look at the user's repos, you will find some more similar.

 

https://github.com/motiondeveloper/eKeys

TOPICS
Error or problem, Expressions, How to, Import and export, Scripting

Views

661

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 28, 2020 0
Explorer ,
Apr 28, 2020

Copy link to clipboard

Copied

Hello. Here is a github repo with exactly what you want to do. You have an exmple of how the file can look like and how to use it. If you look at the user's repos, you will find some more similar.

 

https://github.com/motiondeveloper/eKeys

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 28, 2020 1
Community Beginner ,
Apr 29, 2020

Copy link to clipboard

Copied

Exactly what I needed, DoruCatana. Thank you!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 29, 2020 0
Community Beginner ,
May 07, 2020

Copy link to clipboard

Copied

We also have a jsx function library which might be quite similar to what you're looking to do.

https://github.com/motiondeveloper/aefunctions

 

Feel free to let me know if you have any questions about it.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2020 1
Community Beginner ,
May 08, 2020

Copy link to clipboard

Copied

Even more enlightening. Thank you, Tim!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 08, 2020 0
Adobe Community Professional ,
Apr 28, 2020

Copy link to clipboard

Copied

I made this 1 minute tutorial which describes the process:

https://mamoworld.com/tutorials/after-effects-expressions-nerd-tip-1-building-your-own-expressions-l...

In a nutshell, your files must look like normal JSON files, but may also contain functions as values, which is not permitted in JSON. Therefore, you also have to name them jsx, since it is not proper JSON anymore.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 28, 2020 2
Community Beginner ,
Apr 29, 2020

Copy link to clipboard

Copied

Thanks, Mathias. Your video actually started me down this path!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 29, 2020 0