Mailing List AE-List@media-motion.tv ? Message #43287
From: Karl Newman <kwnewman@verizon.net>
Subject: Addressing Layer comments in an expression
Date: Sun, 29 Apr 2012 01:50:06 -0500
To: After Effects Mail List <AE-List@media-motion.tv>
I cannot seem to find the correct way to write expressions to find the comment's contents in a layer marker.

I think it should go something like this but it does not work.

m=thisLayer.marker;

if ((time >= m.comment("left").time) && (time < m.comment("right").time))
{
rotation=-90;
else if ((time >= m.comment("right").time) && (time < m.comment("hold").time))
{
rotation=90;
}
else
{
rotation=0
}

Any pointers in the right direction would be appreciated.


Karl Newman
Karl Newman Productions





 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster