Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Load external expression.txt and reference a slider in the comp

  • Load external expression.txt and reference a slider in the comp

    Posted by Christiaan Vee on November 24, 2022 at 9:45 am

    Hi

    I’ve set up an external .txt file which is referenced by multiple layers with $.evalFile(). The load works fine, but I have an issue with expression sliders that I’ve referenced. An extract…

    rate = thisComp.layer(“settings”).effect(“rate”)(“Slider”);

    posterizeTime(rate);


    returns the following

    Error: Reference Error: seedRandom is not defined.


    Is there a way for me to use expression sliders in an expression that is loaded from an external file? The reason I’m doing this in the first place is that I’d like this to run across many layers and updating each when I make a change becomes really tedious. If the above is not possible, do you have a workflow that works for you?

    Thanks


    Christiaan Vee replied 1 year, 2 months ago 2 Members · 3 Replies
  • 3 Replies

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