Mailing List AE-List@media-motion.tv ? Message #42059
From: Phil Spitler <phil@bonfirelabs.com>
Subject: Re: [AE] Script question
Date: Wed, 8 Feb 2012 23:08:48 -0800
To: After Effects Mail List <AE-List@media-motion.tv>
Dan nailed it once again.

myEffect.moveTo(1);

Thanks Dan.


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






On Feb 8, 2012, at 8:51 PM, Phil Spitler wrote:

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