ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Random freeze frame every time a project is re-opened

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Avinash Ramanath
Random freeze frame every time a project is re-opened
on Jan 28, 2018 at 2:10:08 pm

Hi All,
Is it possible to get a random freeze frame every time a project is re-opened? I am using the same project with a sequence of BG layers. Only the top layers change dynamically but I want the BG layer in the comp to change for every project. Many thanks.


Return to posts index

Chris Scalzo
Re: Random freeze frame every time a project is re-opened
on Jan 29, 2018 at 9:25:17 pm

As far as I know, you can not read any app data without running a script. As far as an expression, you could use generate a random number in the range of background you have, and you can seed that random with your composition.

If you are making new compositions with each project with unique names, you would generate new random. If those backgrounds were still images or video files, I would toggle their opacity if their number was called. If you want to replace the background layer in your project, you can also write a script to do that every time you run the script.

bgcount=10; \\assuming you had 10 backgrounds
seedRandom(thisComp.name, timeless = true);
Random(1,bgcount)


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]