Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects more scripting…

  • more scripting…

    Posted by Erin Shelby on September 27, 2005 at 8:24 pm

    I have written a script that so far can import an image w/ dialog, but now I would like it to place that image on the top level of a specific comp…thanks to the cumulative help so far, I know how to select the specific comp, but how do I place it into the comp?

    Dan Ebberts replied 20 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies
  • Erin Shelby

    September 27, 2005 at 8:50 pm

    or am I supposed to use the FootageItem replace(file) method?

  • Dan Ebberts

    September 27, 2005 at 10:16 pm

    You need to use the layers.add() method, like this:

    myImage = myComp.layers.add(myNewFootage);

    Dan

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