Mailing List AE-List@media-motion.tv ? Message #42057
From: Phil Spitler <phil@bonfirelabs.com>
Subject: Script question
Date: Wed, 8 Feb 2012 20:51:13 -0800
To: After Effects Mail List <AE-List@media-motion.tv>
I want to add an effect to some layers in an AE script but instead of it adding it to the bottom of the property group, I want to insert it at a set location.

Here is my current code snippet.


if (thisEffectName == fxOld) { // found an old effect
                                   thisEffect.remove();
                                   currentEffects.addProperty(fxNew);
                                   } 

Like I said, it works great other than it adds the new effect to the bottom of the group.

Any ideas?

Thanks.

Phil







Phil Spitler |   Associate Creative Director  |  Bonfire  |  t : 415.394.8200  |  c : 415.571.3139  |  Bonfirelabs.com






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