Page 1 of 1

Change footage source in expression

Posted: July 17th, 2009, 2:14 pm
by FilmLadd
I want to do something like this in an expression:

thisComp.layer("XX").source = thisComp.layer("YY").source

So I can dynamically swap out source footage in an expression (not a script).

Possible in CS4?

Re: Change footage source in expression

Posted: July 17th, 2009, 4:18 pm
by Dan Ebberts
Nope. An expression can't change anything except the value of the property it's applied to.


Dan

Re: Change footage source in expression

Posted: July 17th, 2009, 8:42 pm
by FilmLadd
Well is there a way to do the same thing in another way without cluttering up the composition with hundreds of layers?

Re: Change footage source in expression

Posted: July 19th, 2009, 1:49 am
by Mylenium
FilmLadd wrote:Well is there a way to do the same thing in another way without cluttering up the composition with hundreds of layers?
Umm, no. You could of course use any effect that is able to reference another layer and switch the respective selection pop-ups, but regardless of that, the layer being referenced has still to exist in the comp, so it's not really that different from swapping the layers natively.

Mylenium