Return-Path: Received: from mail-oa0-f45.google.com ([209.85.219.45] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5365183 for AE-List@media-motion.tv; Mon, 03 Feb 2014 19:19:11 +0100 Received: by mail-oa0-f45.google.com with SMTP id i11so8502070oag.4 for ; Mon, 03 Feb 2014 10:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=xQVQYbiozrWaah+STkvz6XysNO0XFtibhtMAPVgCWFc=; b=vfI1s5k/HFls6KM4Y30ya29i+N2870jTCDUIVLOFnISxpizw8i7kyaBQnrGBH4X2Rc o2AnRatDeihaY4VERECqk+Ciykj0agBRJknQTyZ9bzJxsDykXMxnpeN0kKZLxLTaLZJH Y3kh5K1WDgJp6sWDSpoXNSezBNjiT/9YmPAm1p7/fZ6EBeZjXeLP4PcU7QKthhanqa9C UC9zp6PVxY5SRWtP/IHkC6WJ3PFSzbEltBXzfn1HXlHPL21y+5W0HU8WeNuu3yM7vDSL w91bhAIj/oJl5EInyhL+aGGFzH2MlqhdHQupi8t+6YmRe+2mKDOXp0eSsZW/mBztZdIV uK4w== X-Received: by 10.182.149.168 with SMTP id ub8mr1478995obb.74.1391451817886; Mon, 03 Feb 2014 10:23:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.97.7 with HTTP; Mon, 3 Feb 2014 10:23:17 -0800 (PST) In-Reply-To: References: From: Salvador Date: Mon, 3 Feb 2014 18:23:17 +0000 Message-ID: Subject: Re: [AE] Trigger opacity from markers AND use marker duration To: After Effects Mail List Content-Type: multipart/alternative; boundary=001a1134850053cd5204f1849f89 --001a1134850053cd5204f1849f89 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Feb 3, 2014 at 6:07 PM, Lloyd Alvarez wrote: > myNearestKey = marker.nearestKey(time); > (myNearestKey.comment == "active" && time >= myNearestKey.time && time <= > (myNearestKey.time + myNearestKey.duration))?100:0 > Thx guys. It's perfect and actually very simple. I forgot how reactive and helpful the AE community was. --001a1134850053cd5204f1849f89 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

= On Mon, Feb 3, 2014 at 6:07 PM, Lloyd Alvarez <lists@aescripts.com&g= t; wrote:
myNearestKey =3D marker.nearestKey(time= );
(myNearestKey.comment =3D=3D "active" && tim= e >=3D myNearestKey.time && time <=3D (myNearestKey.time + my= NearestKey.duration))?100:0

Thx guys. It's perfect and actually very simple.=

I for= got how reactive and helpful the AE community was.
--001a1134850053cd5204f1849f89--