Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects case problem in a .jsx script

  • case problem in a .jsx script

    Posted by George Matthew on December 13, 2008 at 7:56 am

    mycomp= app.project.item(1);
    mySolid=mycomp.layers.addSolid([1.0,0,0], “mySolid1”, mycomp.width, 3, 1);
    solidAP=mySolid.property(“Anchor Point”); // gives an error
    solidAP.setValue([0,1]);

    Is anchor point written as “Anchor Point” or “AnchorPoint” or “anchorPoint”
    Though the timeline shows Postion written as “Position”, to reference this property in a script, I have to write it as .property(“position”) and not .property(“Position”)?
    Other than by trial and error, how do I find how I have to write a property in a .jsx file?
    Can’t find any info about this in the expression reference in AE CS4 online help?
    Any pointers to the URL in online AE Help which clarifies these?

    George Matthew replied 17 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy