Search found 5 matches

by macattack
August 21st, 2009, 5:55 pm
Forum: Scripts Discussion
Topic: Resize layer at every frame to match a given layer
Replies: 3
Views: 2273

Re: Resize layer at every frame to match a given layer

Thanks Nab! Works great for a single change. I didn't see variables for targetW and targetH. I added them, as well as prompts to select the Text Layer and Target Layer. I'd still like to know how to access the comp's frame rate, as well as the layer length in frames. // Nab, Thu Aug 20 21:55:48 CEST...
by macattack
August 20th, 2009, 11:12 am
Forum: Scripts Discussion
Topic: Resize layer at every frame to match a given layer
Replies: 1
Views: 1716

Resize layer at every frame to match a given layer

I'm working on a project that has a text layer whose source text changes at every frame. I want the text layer to be automatically resized and have its scale keyed so that the text is always as wide as a target solid layer. Having trouble. I got this to work, which is very specific to the particular...
by macattack
August 20th, 2009, 9:41 am
Forum: Scripts Discussion
Topic: Resize layer at every frame to match a given layer
Replies: 3
Views: 2273

Resize layer at every frame to match a given layer

I'm working on a project that has a text layer whose source text changes at every frame. I want the text layer to be automatically resized and have its scale keyed so that the text is always as wide as a target solid layer. Having trouble. I got this to work, which is very specific to the particular...
by macattack
August 13th, 2009, 9:59 am
Forum: General Scripts Library
Topic: Removing parenting & targetting -- baking the AE camera
Replies: 10
Views: 16669

Re: Removing parenting & targetting -- baking the AE camera

Is this script complete? from above: http://www.urbanspaceman.net/shared/AEscripts/AECameraBake.jsx I can't seem to find values for some things (v, u, w) and the for loop seems incomplete. Maybe just because I'm new to JavaScript. But I could really use a script to bake animation. I reformatted it a...
by macattack
August 12th, 2009, 2:40 pm
Forum: Expressions Library
Topic: oscillation by frame
Replies: 1
Views: 7024

oscillation by frame

I'm trying to write a script that causes a solid to oscillate between two positions with each frame. What I've come up with works most frames, but skips beats. Entering the script below in a 30 fps comp, the object is static from 0:00:04:02 - 0:00:04:04. What's wrong with my math? var xDisp = 0 var ...