ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Dropdownlist not showing in AE

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jasper Polderman
Dropdownlist not showing in AE
on Jan 19, 2017 at 12:57:09 pm

Hey Guys,

Im trying to make a dropdownlist with the user created presets.
It works in extendscript but it doesn't work in AE.

Anyone know how to fix this?

Thanks!

//Create DropDownList
myPanel.grp.myPanel10.G1.B3.onClick = function(){
myPanel.grp.myPanel10.G1.B2.removeAll();
var thisFile = new File($.fileName);
var path = thisFile.path+"/XPress%20Presets";
var configFolder = Folder(path);
var fileList = configFolder.getFiles();
for (i = 0; i &lt; fileList.length; i++) {
var filePath = fileList[i] + "";
fileName1 = filePath.replace(path+"/","");
fileName = fileName1.replace("%20"," ");
myPanel.grp.myPanel10.G1.B2.add("item",fileName);
}
}


Return to posts index

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