Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Set Frame Blending from a script?

  • Set Frame Blending from a script?

    Posted by Mitch Mann on December 5, 2012 at 7:03 pm

    Is frame blending for an AVItem in a comp read-only? I can’t seem to set it, and it looks like the docs say its read-only. Surely this can’t be the case (I hope.)

    I’m trying something like:

    app.project.activeItem.layer(1).frameBlending = true;

    or

    app.project.activeItem.layer(1).frameBlendingType.FRAME_MIX;

    Mitch Mann replied 13 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    December 5, 2012 at 7:14 pm

    Try this:

    myLayer.frameBlendingType = FrameBlendingType.FRAME_MIX;

    or this:

    myLayer.frameBlendingType = FrameBlendingType.PIXEL_MOTION;

    Dan

  • Mitch Mann

    December 5, 2012 at 7:25 pm

    You rock Dan, that’s it!

    For anyone’s future reference, this works:

    app.project.activeItem.layer(1).frameBlendingType = FrameBlendingType.FRAME_MIX;

    These DO NOT work:

    app.project.activeItem.layer(1).frameBlending = true;

    app.project.activeItem.layer(1).frameBlendingType.FRAME_MIX

    app.project.activeItem.layer(1).frameBlendingType = FRAME_MIX

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