Change footage source in expression

Moderators: Disciple, zlovatt

Post Reply
FilmLadd
Posts: 2
Joined: July 17th, 2009, 8:18 am

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?
Dan Ebberts
Posts: 320
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

Nope. An expression can't change anything except the value of the property it's applied to.


Dan
FilmLadd
Posts: 2
Joined: July 17th, 2009, 8:18 am

Well is there a way to do the same thing in another way without cluttering up the composition with hundreds of layers?
Mylenium
Posts: 139
Joined: July 20th, 2005, 12:07 am

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
[Pour Mylène, ange sur terre]
Post Reply