Return-Path: Received: from mail-qe0-f49.google.com ([209.85.128.49] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4960773 for AE-List@media-motion.tv; Sun, 27 Jan 2013 02:30:15 +0100 Received: by mail-qe0-f49.google.com with SMTP id 5so469283qea.36 for ; Sat, 26 Jan 2013 17:35:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=VkxjqKYIG6Zfv3xtakcXi4z2xTptaPK3Vq7ZZ+mJ7a8=; b=PKVoDYj/m7uNbCNqxWIG2MhpSkpsGtDu+r+IM1GWg46xz7+B2ybWUYmoLzWwBY40Mf RiWB+PHs5pwR4ESaSab68mVIJvq5X6z87cxYEPvjAX++u+/Vdj44bnN8r2a/YDzSiste ZdzIjpK8SCQ2rU/pOn3yJJLYAAMZDC6ZbZ6cpsCUyjvh9FGgClJn8gWPK42IZNHATYEt L2eapV17LH8HzrQqxOUXVaI7bDJLAeESKM8Lola+IDwym8UqZfMwpwBE7QnyHOdgUYZL NXRwnkDtMVDrB1NisDIIhahGOY1Ltq32EMpaELLAEbDnNY2BnkyMPrVKVv4XOUWLFzsA CzOQ== X-Received: by 10.49.127.240 with SMTP id nj16mr12956577qeb.13.1359250549729; Sat, 26 Jan 2013 17:35:49 -0800 (PST) MIME-Version: 1.0 Sender: hedczech@gmail.com Received: by 10.49.116.70 with HTTP; Sat, 26 Jan 2013 17:35:09 -0800 (PST) From: "scott.aelist" Date: Sat, 26 Jan 2013 17:35:09 -0800 X-Google-Sender-Auth: Q0KYHeWk1qiIDlZt8WaW_tXS-BQ Message-ID: Subject: Expression problem: Bad method arguments: one argument to mul() must be a scalar To: After Effects Mail List Content-Type: multipart/alternative; boundary=047d7b6d96242d694a04d43b2ed3 --047d7b6d96242d694a04d43b2ed3 Content-Type: text/plain; charset=ISO-8859-1 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]; --047d7b6d96242d694a04d43b2ed3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm having difficulty multiplying. I simply want to say, for example &q= uot;SCALE * [2,2,0]"=A0 but I get the error "Expression problem: = Bad method arguments: one argument to mul() must be a scalar."=A0 What= is wrong with my syntax? If it matters below is the full expression i'= m using

cam =3D thisComp.layer("camera 1");
distance =3D length(su= b(position , cam.position));
s =3D distance / cam.zoom;
scale* [s,s,0= ];
--047d7b6d96242d694a04d43b2ed3--