From: "Phil Bearman" Received: from mail-ig0-f178.google.com ([209.85.213.178] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5532601 for AE-List@media-motion.tv; Thu, 24 Jul 2014 13:23:00 +0200 Received: by mail-ig0-f178.google.com with SMTP id uq10so2532539igb.17 for ; Thu, 24 Jul 2014 04:22:59 -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:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=NTEssGuHvxRhcjm0kry5ClTyCVxYbWmNsk+p09AkZzo=; b=cIWMWlbhtekHwkXUx7u40HsYKyFfGt5zafvXOcP0Foank7mJrMb9JkvinLjL/z+0B9 OpF1ZXPsWop0D7rnwmwunjRTLQv+4jqkwfc2h7ZPZY9Har3eilMsW3/cZJtJauu3aJEd yY2Q5J6VZf9YxZTbpoFgLHSRJ55ywhTWcl8ZcR3FKp0ijnVo7PPHVOgOXByfT1ivanaV zRCCWO3bHSRv/z7OBz6a3DJG5X+vvOUSkt51rLbtmS45ob9XtpAEEYEbSMTgJLfUTmaN P6fJX04TR8z4zuC2qstJqlj+fix8CqKfVyue7ILiIfs7Hd/T5jvd9MEVs0sP9QRn4VWJ 0tKw== X-Gm-Message-State: ALoCoQnFMlpAprARoC4DTdDDID4qNCm/h6rAZ3BY0nGoGud22GqTh3m/8+h9ulIzCxc3JtLAea6P MIME-Version: 1.0 X-Received: by 10.50.137.73 with SMTP id qg9mr37552161igb.19.1406200979550; Thu, 24 Jul 2014 04:22:59 -0700 (PDT) Received: by 10.107.35.193 with HTTP; Thu, 24 Jul 2014 04:22:59 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Jul 2014 12:22:59 +0100 Message-ID: Subject: Re: [AE] Text expression selector syntax error? To: After Effects Mail List Content-Type: multipart/alternative; boundary=001a11c3b184de913d04feeead77 --001a11c3b184de913d04feeead77 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Weird - I've just tried rebuilding it in a new project and it works fine! So I saved it as an animation preset, returned to the original project I was trying to use it in and applied the preset, and it fails... Screengrab of the error here: https://dl.dropboxusercontent.com/u/1388508/textexpressionerror.jpg Bizarre! --=20 *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. On 24 July 2014 12:09, angie@angietaylor.co.uk wrote: > PS I removed the unnecessary step of adding Anchor Point animator as the > anchor for Rotation can be adjusted in the More Options > Grouping > Alignment settings :-) > > > > On 24 Jul 2014, at 12:07, angie wrote: > > Just tried it out and it works for me. Here=E2=80=99s my setup. > > > > > > > > > On 24 Jul 2014, at 11:31, Phil Bearman wrote: > > 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=3D3; > timeOffset=3D0.25; > v=3DvalueAtTime(time-timeOffset*textIndex/textTotal)[0]; > anim=3D2*Math.PI*v/100; > amp=3DeaseOut(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-pendulu= m-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 omission= s > in the contents of this message or attached documents or for any damage > suffered by your computer system caused by any errors or viruses containe= d > in the E-Mail message or any attached documents. > > > > --001a11c3b184de913d04feeead77 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Weird - I've just tried rebuilding it in a new project= and it works fine! =C2=A0So I saved it as an animation preset, returned to= the original project I was trying to use it in and applied the preset, and= it fails...


Bizarre!

--

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.



On 24 July 2014 12:09, angie@angietaylor.co.uk <= ;AE-List@media= -motion.tv> wrote:
PS I removed the unnecessary step of adding Anchor Point anim= ator as the anchor for Rotation can be adjusted in the More Options > Gr= ouping Alignment settings :-)



On 24 Jul 2014, at 12:07, angie <AE-List@media-motion.= tv> wrote:

Just tried it out and it works for me. Here=E2=80=99s my se= tup.


<Screen-Shot-201= 4-07-24-at-12.05.10.jpg>





On 24 Jul 2014, at 11:31, Phil Bearman <AE-List@media-motion.tv> = wrote:

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 fr= ames before it throws up the error seems 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

--

= Phil = Bearman

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

www= .PhilBearman.co.uk : Nightcl= ub=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.



--001a11c3b184de913d04feeead77--