Quantcast
Viewing all articles
Browse latest Browse all 30854

How to convert string to [AVLayer]

Hi everyone.

I`ve got this code:

 

 

var myComp = "app.project.activeItem";
var text = '.layer("4").effect("Unsharp Mask")("Amount")';
var myLayer = myComp+text; 
alert(myLayer.value)               // doesn`t work

 

How can I convert to string (myLayer) into [AVLayer] object to get its property?


Viewing all articles
Browse latest Browse all 30854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>