Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Puting an item inside a comp

  • Puting an item inside a comp

  • Avinash Ramanath

    April 21, 2017 at 7:13 pm

    Dear All,
    I have made a template with three compositions, namely Placeholder1, Placeholder2 and Placeholder3
    I have three items in the project panel namely Clip1.mov, Clip2.mov and Clip3.jpg
    how to move Clip1.mov inside Placeholder 1 and so on?

    also, the duration of Placeholder should auto match duration of Clip

    Please help it’s a bit urgent

  • Steve Sierra

    April 22, 2017 at 6:35 am

    Hello,
    I’m new to scripting, but this is what I’d do :

    -You could create solids in your placeholder comps and then use “replaceSource()” to replace them with your clips.

    -To get the clips numbers to match with the placeholders numbers, I’d use slice on the names, but if you have more than 9 clips, you have to name them Clip01, Clip02,Clip03, etc…

    – I still haven’t messed around with comp settings, but you can get Item’s duration using “app.project.item.duration” I think. It’s a read/write for comps and a read only for other Items.

    I hope this can help.

    Cheers !

Viewing 1 - 2 of 2 posts

Log in to reply.

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