Expressions in AE
Hello all, Have a quick question - I'm coming from a flash/actionscript programming background and am fairly new to AE. I started to experiment with expressions, and it seems that communication between...
View ArticleGetting global coordinates from parented local coords.
I have a mocha tracked null. I child another null thats slightly offset in XY. Now the child's coordinates are relative to the parent. But how can I get the child's true position in the comp? This...
View Articleobject position controlled by time
So, i want to control the position of a white box by using expressions because i can't use keyframes as i want (or i'm just stupid). I already have a = thisComp.layer("White box").effect("Sound...
View ArticleExpressions Optimization
I use a lot of expressions - to a point where I sometimes get stack overrun errors in renders, and other glitches. I am wondering if anyone has advice for optimizing expressions and reducing the amount...
View ArticleIs it possible to link entire effects on multiple clips?
I have a music video that I edited in Premiere and brought into AE CS5, I have multiple clips that are the same shot, but in different places in the timeline, so some effects, like Colorista, and Looks...
View ArticleAdjust the amount of Mocha stabilize?
I have a couple shots that Mocha (and the awesome MochaImport script) has beautifully stabilized. However, it's a little too rock solid. Is there someway to craft an expression that can dial back the...
View ArticlepropertyIndex problem in CS4
Hi,Expressions containing the property "propertyIndex" no longer works in CS4.I get a message box saying: After Effects warning: Bad method arguments: propertyIndex can't be used on this propertyHas...
View ArticleCollapse Transformation Attribute?
Simple question: Is there a collapse transformations attribute that can be scripted? I'd like to collapse a comp after its scale passes 100%. Its an easy enough expression to write, but does this...
View ArticleIterate through all text layers, read a specific selector and create certain...
Hi, I have about ~50 text layers, on each of them I got a text selector named "Anim" with some keyframes specially positioned.What I need is to read those keyframes of each Anim selector and add a new...
View ArticleLooping images really randomlyI
I need a constantly changing background for an animation. I use different drawings of the same background and loop them randomly, to avoid this looping look. Unfortunalety when I use random there are...
View ArticleHow to get relative position of layer in larger precomp.
The Setup: Comp 1 is 2000x3000 pixels. Comp 1 contains Layer X that is positioned at 1750,1250. (or whatever) I pull Comp 1 into Comp 2 which is 800x600. I scale and move Comp 1 inside Comp 2 by an...
View ArticleHow can I use layer axis versus world axis to animate?
Hi all, I'm open to alternate ways to approach this. I'm trying to create a sphere using several images. Say, 200 images, arranged in 3d space so they face outwards and are all forming one large...
View ArticleTracking puppet pin tool with null object track(HELP)
I'm trying to track my puppet pin tool to a null object. I am using the code n=thisComp.layer("NullObject_Name"); nullpos=n.toComp(anchorPoint); fromComp(nullpos); But ever time I assign the name of...
View ArticleExpression needed!! Any help appreciated. Using audio converted keyframes
Hi all, I'm hoping this isn't to much of a complicated issue. I use after effects regularly but the expression stuff does have me baffled. I can convert the audio to keyframes with out an issue. What...
View ArticleStoring a position value from the previous frame
Hey guys, So, I'm trying to assign the X value a null object had at the previous frame so I can continue to subtract a number from it cumulatively. I'm trying to assign it to a variable (prevframe)....
View ArticleOffsetting time and position of several layers relative to preceding layer
Hello - Pardon the newbie questions, but I've keyframed 'Black Solid' moving along the x axis and basically would like to duplicate the layer (perhaps with a new color) several times so that each 'new...
View Articlecontrolling Key-Value by Point Controller
Hey guys,I have multiple layers, each one has three position keyframes with keyA, keyB and keyC. Now I want to have a small "helper": the value of frame B should be changed by a "Point Control" (which...
View ArticleTrack nested child layer's position
Hi, I have a Main Comp with a layer named 'Controller'.I have several 2d layers parented to this controller.Now,i need to precompose two of them.let's say this precomposition of these two layers is...
View Article'Drift Over Time' but with easy-ease?
I'm using the nifty Adobe Drift Over Time preset. But its movement is linear. Any way to add an easy-ease to the start of it?This is applied to the position property of the Transform...
View Article#include Doesn't work in AE CS4
Anyone have a work around for the "#include" javascript in CS4. Used an external file to drive some text in my comp in CS3, but the same script doesn't work in CS4. I even downloaded a comp from the...
View Article