Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Can't write to The applyStroke attribute

$
0
0

I have several lines of simple code like this:

     var myComp = app.project.activeItem;

     var myLayer = myComp.layer(1);

     myLayer.sourceText.value.applyStroke = true;

     alert(myLayer.sourceText.value.applyStroke);

 

 

However, the applyStroke doesn't work properly, I can read its value, but can't write it. According to the official scripting guide, it's read/write.

         

1.png

But the 3rd line just doesn't work! I wonder why! Is this a bug? !

Hope I've made myself clear.


Viewing all articles
Browse latest Browse all 2143

Latest Images

Trending Articles



Latest Images

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