From: "angie@angietaylor.co.uk" Received: from douglas.footholds.net ([188.65.117.69] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 5532610 for AE-List@media-motion.tv; Thu, 24 Jul 2014 13:26:23 +0200 Received: from [2.120.242.128] (port=59005 helo=[192.168.0.8]) by douglas.footholds.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1XAHAD-00089B-KY for AE-List@media-motion.tv; Thu, 24 Jul 2014 12:26:22 +0100 Content-Type: multipart/alternative; boundary="Apple-Mail=_8E5FF5BA-B865-4603-9E28-766A063ACEBD" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: [AE] Text expression selector syntax error? Date: Thu, 24 Jul 2014 12:26:21 +0100 References: To: =?iso-8859-1?Q?After=A0Effects=A0Mail=A0List_Mail_List?= In-Reply-To: X-Mailer: Apple Mail (2.1874) X-OutGoing-Spam-Status: No, score=-2.3 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - douglas.footholds.net X-AntiAbuse: Original Domain - media-motion.tv X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - angietaylor.co.uk X-Get-Message-Sender-Via: douglas.footholds.net: authenticated_id: angie@angietaylor.co.uk X-Source: X-Source-Args: X-Source-Dir: --Apple-Mail=_8E5FF5BA-B865-4603-9E28-766A063ACEBD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Could it be something as simple as the file name being too long? Try = changing the filename to something shorter and re-apply it? cheers, Angie On 24 Jul 2014, at 12:22, Phil Bearman wrote: > 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... >=20 > Screengrab of the error here: = https://dl.dropboxusercontent.com/u/1388508/textexpressionerror.jpg >=20 > Bizarre! >=20 > --=20 > Phil Bearman >=20 > Phil Bearman Creative Media Solutions=20 > Motion Graphics Design >=20 > www.PhilBearman.co.uk : Nightclub & Bar ~ Production, Corporate & = Events ~ DVD Products=20 >=20 >=20 >=20 > 2004-2014 - Celebrating 10 years in business! Click here for 10th = anniversary video clip giveaway=20 >=20 > 0161 236 2581 - 9am-5pm, Monday-Friday >=20 > 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. >=20 >=20 >=20 > 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 :-) >=20 >=20 >=20 > On 24 Jul 2014, at 12:07, angie wrote: >=20 >> Just tried it out and it works for me. Here=92s my setup. >>=20 >>=20 >> >>=20 >>=20 >>=20 >>=20 >>=20 >> On 24 Jul 2014, at 11:31, Phil Bearman = wrote: >>=20 >>> Hi all, >>>=20 >>> 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). >>>=20 >>> The expression is: >>>=20 >>> swings=3D3;=20 >>> timeOffset=3D0.25;=20 >>> v=3DvalueAtTime(time-timeOffset*textIndex/textTotal)[0];=20 >>> anim=3D2*Math.PI*v/100;=20 >>> amp=3DeaseOut(v,0,100,100,0);=20 >>> Math.cos(anim*swings)*amp; >>>=20 >>> Applied to the 'Amount' in the expression selector. >>>=20 >>> It's based on these instructions: = http://www.motion-graphics-exchange.com/after-effects/3D-swing-in-pendulum= -text/4ad3a609eafd3 >>>=20 >>> 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? >>>=20 >>> Any help much appreciated as always! >>>=20 >>> Phil >>>=20 >>> --=20 >>> Phil Bearman >>>=20 >>> Phil Bearman Creative Media Solutions=20 >>> Motion Graphics Design >>>=20 >>> www.PhilBearman.co.uk : Nightclub & Bar ~ Production, Corporate & = Events ~ DVD Products=20 >>>=20 >>>=20 >>>=20 >>> 2004-2014 - Celebrating 10 years in business! Click here for 10th = anniversary video clip giveaway=20 >>>=20 >>> 0161 236 2581 - 9am-5pm, Monday-Friday >>>=20 >>> 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. >>>=20 >>=20 >=20 >=20 --Apple-Mail=_8E5FF5BA-B865-4603-9E28-766A063ACEBD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Could = it be something as simple as the file name being too long? Try changing = the filename to something shorter and re-apply it?

cheers,

Angie


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

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...


Bizarre!

--

Phil Bearman

Phil Bearman Creative Media Solutions=20
Motion Graphics Design

www.PhilBearman.co.uk : = Nightclub=20 & Bar ~ = Production, Corporate=20 & Events ~ = DVD = Products&nbs= p;


=

2004-2014 - Cele= brating 10 years in business! &nbs= p; Click = here for 10th anniversary video clip giveaway 


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 have=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 = information=20 could be intercepted, corrupted, lost, destroyed, arrive late or = incomplete,=20 or contain viruses. The sender therefore does not accept liability for = any 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 contained=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 animator as the anchor for Rotation can be adjusted in the = More Options > Grouping 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=92s my = setup.


<Screen-Shot-= 2014-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 = frames before it throws up the error seems to be variable).

The expression = is:

swings=3D3; 
timeOffset=3D= 0.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 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=20
Motion Graphics Design

www.PhilBearman.co.uk : = Nightclub=20 & Bar ~ = Production, Corporate=20 & Events ~ = DVD = Products&nbs= p;


=

2004-2014 - Cele= brating 10 years in business! &nbs= p; Click = here for 10th anniversary video clip giveaway 


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 have=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 = information=20 could be intercepted, corrupted, lost, destroyed, arrive late or = incomplete,=20 or contain viruses. The sender therefore does not accept liability for = any 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 contained=20 in the E-Mail message or any attached = documents.

=



= --Apple-Mail=_8E5FF5BA-B865-4603-9E28-766A063ACEBD--