Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesTrainingCreative Cloud DebateFAQ

Re: Replace Footage Script

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Davis LindsayRe: Replace Footage Script
by on Apr 26, 2012 at 4:02:16 pm

Thanks for the reply Dan,

When I use the replaceSource() method I come up with this error.

Unable to execute script at line 6. Function proj.item().item().replaceSource is undefined
It's probably something small I'm missing.

//Creates a new project
var proj = app.project;
var i = 0;

proj.item(1).item(1).duplicate();
proj.item(1).item(2).replaceSource(proj.item(2).item(1), true);
proj.item(1).item(2).name = proj.item(1).item(1).layer(3).name;


Prepare for today and you'll survive, prepare for tomorrow and you will thrive.


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]