Text style expressions don't exist in older projects
The new text style expressions don't exist if a project is from older version (before cc2020).
Workaround is importing the project into a new cc2020 project.

3 comments
-
Hi Roland,
Can you email me the Mogrt file? UserVoice doesn't like .mogrts and won't attach them correctly.
Thanks,
Dacia -
Roland Kahlenberg commented
This Expression used to work in AE CC2019 and PPro 2019. They now work in AE CC 2020 BUTT not in PPro 2020.
---------------------------------
myArray = ["ROTTING BANANAS","FLIGHT CLUB",text.sourceText];selects = thisComp.layer("Controller").effect("Program Title")(1);
myArray[selects-1]
-------------------------
This Expression is applied to a Source Text prop which has some text in it (default custom text) - more on this later.The issue is with the last array item, text.sourceText. It's there as a feature to allow a user to enter custom text, as opposed to choosing from a list, in the same array. In AE CC 2020. all is good. In PPro, the default text doesn't appear - the text entry box is blank and anything I type disappears into a world when I click on the Timeline.
In CC2019, I was using the ole Slider EXP Control for selections but converted them to Drop Menu EXP Controls for CC 2020. I've attached the CC2020 MoGRT.
-
The new expressions are only available in the Javascript expression engine. My hunch is that your older projects have the legacy ExtendScript engine selected instead. You can switch to the newer engine in the Expressions tab in your project settings. If you find you have older expressions that aren't compatible with the new engine, you can run the Upgrade Legacy Expressions script under File > Scripts to make them work.