FORUMS: list search recent posts

Undefined is not an object

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
madhan kumar
Undefined is not an object
on Oct 30, 2019 at 10:55:38 am

I have a script where i upload lot of aeps and merge them

I am using the following code


var aeFolder = app.project.importFile(importOpts);

for (var n = 1; n <= aeFolder.numItems; n++) {
app.layers.add(aeFolder.item(n));
}


The problem is at some point of time the error shows that undefined is not an object it is referencing the aeFolder variable I checked , it is imported , but we can't get the data right . Maybe it's not synchronous ? No , because it runs perfectly the next time , Please help


Return to posts index

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