Mailing List AE-List@media-motion.tv ? Message #47510
From: scott.aelist <scott.aelist@gmail.com>
Sender: <hedczech@gmail.com>
Subject: Expression problem: Bad method arguments: one argument to mul() must be a scalar
Date: Sat, 26 Jan 2013 17:35:09 -0800
To: After Effects Mail List <AE-List@media-motion.tv>
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