Mailing List AE-List@media-motion.tv — Message #47511
From: Dan Ebberts <debberts@comcast.net>
Subject: Re: [AE] Expression problem: Bad method arguments: one argument to mul() must be a scalar
Date: Sat, 26 Jan 2013 17:47:32 -0800
To: After Effects Mail List <AE-List@media-motion.tv>
I’d just change the last line to this:
 
scale*s;
 
Sent: Saturday, January 26, 2013 5:35 PM
Subject: [AE] Expression problem: Bad method arguments: one argument to mul() must be a scalar
 
I'm having difficulty multiplying. I simply want to say, for example "SCALE * [2,2,0]"  but I get the error "Expression problem: Bad method arguments: one argument to mul() must be a scalar."  What is wrong with my syntax? If it matters below is the full expression i'm using

cam = thisComp.layer("camera 1");
distance = length(sub(position , cam.position));
s = distance / cam.zoom;
scale* [s,s,0];
 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster