We have used some expressions in an AE CS6 project to fill text from an external file. Here's an example:
try{
/* "mypath" must be absolute to data file */
myPath = "file:////nynfile1/Production/Egg/Marque/data.txt";
$.evalFile(myPath);
/* Use [0,1,2] for array offset value(Name, Date, Time)*/
eval(thisComp.name)[0];
}catch(err){
/* Display if data error found*/
"text not found";
}
It works fine in CS6. When we open the file in AE CC, the expressions can't find the data.txt file to pull text from. All we get is the "text not found" error. We stepped through debug and the data.txt file doesn't open/isn't found.
What up with that?