From: "Phil Bearman" Received: from mail-ig0-f172.google.com ([209.85.213.172] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5532553 for ae-list@media-motion.tv; Thu, 24 Jul 2014 12:31:33 +0200 Received: by mail-ig0-f172.google.com with SMTP id h15so6283871igd.17 for ; Thu, 24 Jul 2014 03:31:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=hBdGcLrcciHSrDmmNUl8chQ52ju6394N5xvQcrF6tDg=; b=bKu+dvtW9jsZ876epGl9A58OnCE0Ypv6PbSLMdnO3hvNQHyhnItbQ82D++HdeIsxvZ wYJKSlFxMrCMTEgb3btYNi+KrZ9U7jK1C1N9g47jVdavGo2XRN30fFFaSQ71ZqAgBBJF X40IWS0oewNKiayawahIgi4+9yL7vHBJA7oeIf443ILqYKY+UpO/OP4Ufacl21qfwoWR I1+2UNh8UPCEQk47oxgegHhvbobdUBbAlhdd43Mlan4gXaiBhLXmMDKRm0k5l/aprs4b 5yVRcmb+TozAN1HvBth5DTPA4dNPLUn6zFpSislSm2hz6EfInathhi1KZ5bQgzB+vd3s W+DQ== X-Gm-Message-State: ALoCoQlepPXmfcTizDsBUmUEkNkOtWR3n5zYL6Rg+TSHqIOnjcLPaape7knKA7cRvIPhoMtk7goS MIME-Version: 1.0 X-Received: by 10.50.33.16 with SMTP id n16mr25333604igi.15.1406197892003; Thu, 24 Jul 2014 03:31:32 -0700 (PDT) Received: by 10.107.35.193 with HTTP; Thu, 24 Jul 2014 03:31:31 -0700 (PDT) Date: Thu, 24 Jul 2014 11:31:31 +0100 Message-ID: Subject: Text expression selector syntax error? To: After Effects Mail List Content-Type: multipart/alternative; boundary=089e0153840cd6564504feedf562 --089e0153840cd6564504feedf562 Content-Type: text/plain; charset=UTF-8 Hi all, I'm trying to use an expression in a text animation, but getting a (non specific) syntax error after it runs for a few frames (the name of frames before it throws up the error seems to be variable). The expression is: swings=3; timeOffset=0.25; v=valueAtTime(time-timeOffset*textIndex/textTotal)[0]; anim=2*Math.PI*v/100; amp=easeOut(v,0,100,100,0); Math.cos(anim*swings)*amp; Applied to the 'Amount' in the expression selector. It's based on these instructions: http://www.motion-graphics-exchange.com/after-effects/3D-swing-in-pendulum-text/4ad3a609eafd3 It works fine if I base it on Words, but if I base it on Lines it fails. Any suggestions for why this might throw up a syntax error like this? Any help much appreciated as always! Phil -- *Phil Bearman* *Phil Bearman Creative Media Solutions* Motion Graphics Design www.PhilBearman.co.uk : Nightclub & Bar ~ Production, Corporate & Events ~ DVD Products *2004-2014 - **Celebrating 10 years in business! * Click here for 10th anniversary video clip giveaway 0161 236 2581 - 9am-5pm, Monday-Friday This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this E-Mail. Please notify the sender immediately by E-Mail if you have received this E-Mail by mistake and delete the E-Mail from your system. E-Mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or attached documents or for any damage suffered by your computer system caused by any errors or viruses contained in the E-Mail message or any attached documents. --089e0153840cd6564504feedf562 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

I'm trying to use an expres= sion in a text animation, but getting a (non specific) syntax error after i= t runs for a few frames (the name of frames before it throws up the error s= eems to be variable).

The expression is:

swings= =3D3;=C2=A0
timeOffset=3D0.25;=C2=A0
v=3DvalueAtTime(ti= me-timeOffset*textIndex/textTotal)[0];=C2=A0
anim=3D2*Math.PI*v/1= 00;=C2=A0
amp=3DeaseOut(v,0,100,100,0);=C2=A0
Math.cos(anim*swings)*amp;

Applied to t= he 'Amount' in the expression selector.


It works fine if I base it on Words, but if I base it o= n Lines it fails. Any suggestions for why this might throw up a syntax erro= r like this?

Any help much appreciated as always!<= /div>

Phil

<= /font>
--

Ph= il Bearman

Phi= l Bearman Creative Media Solutions=20
Motion Graphics Design

www.= PhilBearman.co.uk : Nightclu= b=20 & Bar ~ Production, C= orporate=20 & Events ~ DVD Product= s=C2=A0


2004-2014 -=C2=A0Celebrati= ng 10 years in business! =C2=A0=C2=A0Click here for 10th anniversary = video clip giveaway=C2=A0


0161 236 2581 - 9am-5pm, Monday-Friday

This message=20 contains confidential information and is intended only for the individual= named.=20 If you are not the named addressee you should not disseminate, distribute= or=20 copy this E-Mail. Please notify the sender immediately by E-Mail if you h= ave=20 received this E-Mail by mistake and delete the E-Mail from your system. E= -Mail=20 transmission cannot be guaranteed to be secure or error-free as informati= on=20 could be intercepted, corrupted, lost, destroyed, arrive late or incomple= te,=20 or contain viruses. The sender therefore does not accept liability for an= y errors=20 or omissions in the contents of this message or attached documents or for= any=20 damage suffered by your computer system caused by any errors or viruses c= ontained=20 in the E-Mail message or any attached documents.

--089e0153840cd6564504feedf562--