Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions since i dont think we can script the swap…

  • Dan Ebberts

    June 21, 2007 at 12:53 am

    In CS3 .replaceSource() provides the Opt/Alt drag functionality.

    For previous versions, assuming your comp is active, the new footage is selected in the project window, and there is already a layer in your comp named “parent”, this should work:

    var myProject = app.project;
    var myComp = myProject.activeItem;
    var myNewLayer = myComp.layers.add(myProject.selection[0]);
    myNewLayer.threeDLayer = true;
    myNewLayer.parent = myComp.layer(“parent”);

    Dan

  • Danny Princz

    June 21, 2007 at 3:17 am

    i am soooo glad that was added.

    not sure if i can get this project to be done in CS3, but ill try the rest out

    thanks once again!

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