Return-Path: Received: from mail-bk0-f53.google.com ([209.85.214.53] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4947792 for AE-List@media-motion.tv; Sat, 12 Jan 2013 14:20:14 +0100 Received: by mail-bk0-f53.google.com with SMTP id j5so1321818bkw.26 for ; Sat, 12 Jan 2013 05:25:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type; bh=Zh/8f2tCGSz70HyyEAQlZvLZoXIaJK0mT85271wNJ0k=; b=aqq3c1he3CijpapIerELPrGAIcHgvzwPjfAJDJSAZJ8mLpEpUjQk8fOqZ7bPMwgcWh jYi5xnAPCyIOuP397/ER37kgFy366f2gmf4oiiECXoxqQqAVSY53w6Ps59sWO7myNsU1 KQDB6oJZXN6Z/SW4E7W1C13Om+Ab7i6qkL/fyKmgFa9tCtaSwUrQOJjp72kgV2ebX7Om UopOjrJoX6LvYBzgFOJ2IGlo6NKnVtJZy7OcnZZFIahFnQV8OSkN+FRZZ/l0XCLF5UW5 wEE+Sknjn8u2CmGmr6uDAy2AEHlA5jralGKsLdZS8sqxUoQ9swFVjPcFcTfTDTSwMm6g jaoA== X-Received: by 10.204.147.25 with SMTP id j25mr36990621bkv.36.1357997122508; Sat, 12 Jan 2013 05:25:22 -0800 (PST) Return-Path: Received: from [192.168.0.51] (p5792B9CD.dip0.t-ipconnect.de. [87.146.185.205]) by mx.google.com with ESMTPS id m20sm6204961bkw.4.2013.01.12.05.25.16 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 12 Jan 2013 05:25:17 -0800 (PST) Message-ID: <50F16436.2050102@googlemail.com> Date: Sat, 12 Jan 2013 14:25:10 +0100 From: =?ISO-8859-1?Q?Mathias_M=F6hl?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: After Effects Mail List Subject: Re: Script Question References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------050009060608040004050209" This is a multi-part message in MIME format. --------------050009060608040004050209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit oops, Paul was faster than me :-) I should change my subscription to not getting digests - when I read a question it is already outdated... Cheers, Mathias -- ------------------------------------------------------------------------ *mamoworld.com tools & tutorials for After Effects* dr. mathias möhl kapellenweg 36, 79100 freiburg, germany phone +49 (0)761 - 4774 584 info@mamoworld.com Am 12.01.2013 00:00, schrieb After Effects Mail List: > Message-ID:<50EFE99B.8070707@googlemail.com> > Date: Fri, 11 Jan 2013 11:29:47 +0100 > From: =?ISO-8859-1?Q?Mathias_M=F6hl?= > Subject: Re: Script Question > > This is a multi-part message in MIME format. > --------------040807090509060802030107 > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > Content-Transfer-Encoding: 8bit > > Hi Phil, > > when you add a new slider, the variables pointing to other sliders get > invalid and you should not use them anymore. > See in the scripting guide the section "Reference Invalidation" of the > PropertyBase object. > > You need to create a new variable pointing to the RED Slider after > creating the other one. You can do this by remembering either the index > or the name of the red slider (This is the solution that David suggested). > > Best, > Mathias > > ------------------------------------------------------------------------ > *mamoworld.com > tools & tutorials for After Effects* > > dr. mathias möhl > kapellenweg 36, 79100 freiburg, germany > phone +49 (0)761 - 4774 584 > info@mamoworld.com --------------050009060608040004050209 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
oops, Paul was faster than me :-)
I should change my subscription to not getting digests - when I read a question it is already outdated...

Cheers,
Mathias

--

mamoworld.com
tools & tutorials for After Effects

dr. mathias möhl
kapellenweg 36, 79100 freiburg, germany
phone +49 (0)761 - 4774 584
info@mamoworld.com


Am 12.01.2013 00:00, schrieb After Effects Mail List:
Message-ID: <50EFE99B.8070707@googlemail.com>
Date: Fri, 11 Jan 2013 11:29:47 +0100
From: =?ISO-8859-1?Q?Mathias_M=F6hl?= <mamo181@googlemail.com>
Subject: Re: Script Question

This is a multi-part message in MIME format.
--------------040807090509060802030107
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi Phil,

when you add a new slider, the variables pointing to other sliders get 
invalid and you should not use them anymore.
See in the scripting guide the section "Reference Invalidation" of the 
PropertyBase object.

You need to create a new variable pointing to the RED Slider after 
creating the other one. You can do this by remembering either the index 
or the name of the red slider (This is the solution that David suggested).

Best,
Mathias

------------------------------------------------------------------------
*mamoworld.com
tools & tutorials for After Effects*

dr. mathias möhl
kapellenweg 36, 79100 freiburg, germany
phone +49 (0)761 - 4774 584
info@mamoworld.com <mailto:info@mamoworld.com>


--------------050009060608040004050209--