Search found 20 matches
- January 14th, 2009, 1:21 am
- Forum: Expression Discussion
- Topic: Cycle through expressions to clear warnings/errors
- Replies: 15
- Views: 37093
Re: Cycle through expressions to clear warnings/errors
Btw, writing a script that goes through a comp and attempts to re-enable turned off expression is on my to-do list. This is something that has always frustrated me in AE when dealing with lots of layers with expressions.. Stay tuned.. -Lloyd WEee! Sweet! That would really rock! But one would also l...
- January 13th, 2009, 9:21 am
- Forum: Expression Discussion
- Topic: Cycle through expressions to clear warnings/errors
- Replies: 15
- Views: 37093
Re: Cycle through expressions to clear warnings/errors
Mkay I got a workaround from Mr Princz that worked! It's a simple one! Just put the whole expression inside
if(index > 1){
expression goes here
}
else{
...something else
}
Thanks again man!
if(index > 1){
expression goes here
}
else{
...something else
}
Thanks again man!

- January 13th, 2009, 8:32 am
- Forum: Expression Discussion
- Topic: Cycle through expressions to clear warnings/errors
- Replies: 15
- Views: 37093
Re: Cycle through expressions to clear warnings/errors
So i remade it with a solid instead of a shape layer. Same behavior. :( Going nuts over here. Is there some reason that this expression on a layers drop shadow opacity wouldn't work to copy and paste? thisComp.layer(index).effect("Drop Shadow")(2).value = thisComp.layer(index-1).effect(&qu...
- January 13th, 2009, 7:22 am
- Forum: Expression Discussion
- Topic: Cycle through expressions to clear warnings/errors
- Replies: 15
- Views: 37093
Re: Cycle through expressions to clear warnings/errors
Bummer! This old "bug" came back and bit me in the ass! Really hard! :? Seems like there's a bug that makes it impossible to paste shape layers with effect that has expressions that refers to something like (index-1). In this case I have a shape layer with a drop shadow. And the layer abov...
- January 12th, 2009, 8:30 am
- Forum: Expression Discussion
- Topic: Expression for underlining words in a text row?
- Replies: 3
- Views: 15159
Re: Expression for underlining words in a text row?
Expressions cannot modify text display properties or generate pixels - plain and simple. And I don't think your attempts at throwing sampleImage() in the pot really have any value beyond what you could do with text animators, which IMO is the solution you should look into. After all, they can be ma...
- January 8th, 2009, 9:14 am
- Forum: Expression Discussion
- Topic: Expression for underlining words in a text row?
- Replies: 3
- Views: 15159
Expression for underlining words in a text row?
Hey again guys. Would need some smart way to automatic create an underline under each word in a row of text. I must be able to set the height of the underline and the distance from the above text line. Preferably also some "bleed"-control so i can make each section of the underline #-pixel...
- September 25th, 2008, 4:05 pm
- Forum: Expression Discussion
- Topic: Cycle through expressions to clear warnings/errors
- Replies: 15
- Views: 37093
Re: Cycle through expressions to clear warnings/errors
Great news. Managed to find out what was causing this behavior. On that shape layer that behaved odd I had added a fill effect and linked that one to the fill of the layer above (index - 1). When killing that fill effect I could duplicate it. So instead I linked the color fill to the shapes fill, wh...
- September 25th, 2008, 3:44 pm
- Forum: Expression Discussion
- Topic: If statement in Expression that refuses to cooperate.
- Replies: 9
- Views: 22261
Re: If statement in Expression that refuses to cooperate.
Weeo! Thanks man! Now it works, couldn't have made it without you! //Variables //At what yposition do we "kill" the layer? ykill = 410; ypos = transform.position[1]; oldypos = transform.position.valueAtTime(time - thisComp.frameDuration)[1] ; //If we have reached the killframe or are outsi...
- September 25th, 2008, 3:13 pm
- Forum: Expression Discussion
- Topic: If statement in Expression that refuses to cooperate.
- Replies: 9
- Views: 22261
Re: If statement in Expression that refuses to cooperate.
Hey Dan I could not sit still so started to look at this. But could you just maybe tell me a bit about this: ypos = toWorld(transform.anchorPoint)[1]; oldypos = toWorld(transform.anchorPoint, time - thisComp.frameDuration)[1]; Can't really wrap my head around what it'll do. I would think something l...
- September 25th, 2008, 1:42 pm
- Forum: Expression Discussion
- Topic: Cycle through expressions to clear warnings/errors
- Replies: 15
- Views: 37093
Re: Cycle through expressions to clear warnings/errors
Mmm... Theres something real odd there. Will look further tomorrow. I did try to select and copy paste them in different order but that didn't help. And I tried to duplicate them. But then they will not be "pasted" after one eachother so then it breaks a bunch of expressions. But you see w...
- September 25th, 2008, 12:37 pm
- Forum: Expression Discussion
- Topic: If statement in Expression that refuses to cooperate.
- Replies: 9
- Views: 22261
Re: If statement in Expression that refuses to cooperate.
I'm not all clear to what this will do. But I wil play with it tomorrow. Thanks! I would think something like this would get you closer: ykill = 410; ypos = toWorld(transform.anchorPoint)[1]; oldypos = toWorld(transform.anchorPoint, time - thisComp.frameDuration)[1]; if ((ypos >= yKill) && (...
- September 25th, 2008, 12:27 pm
- Forum: Expression Discussion
- Topic: Cycle through expressions to clear warnings/errors
- Replies: 15
- Views: 37093
Re: Cycle through expressions to clear warnings/errors
Mmmkay... I made a screencap of it: http://www.irry.com/neo/bilder/temp/3d/AE_expression_broken.zip It's a 102MB zip that unpacks to an 800MB avi. I have no time now to recompress it. Will provide a smaller QT tmorrow. But maybe it's ok with this one? I'm not having any luck duplicating that behavio...
- September 25th, 2008, 11:40 am
- Forum: Expression Discussion
- Topic: Cycle through expressions to clear warnings/errors
- Replies: 15
- Views: 37093
Re: Cycle through expressions to clear warnings/errors
What does the expression look like? Dan The setup could look like this: Layer Index 12: Text layer with 10 masks. Masks are adjusted here Layer index 13: Shape layer with a rectangle and 10 masks. All masks attributes are with expressions linked to the layer above. Like: thisComp.layer(index-1).mas...
- September 25th, 2008, 10:53 am
- Forum: Expression Discussion
- Topic: Cycle through expressions to clear warnings/errors
- Replies: 15
- Views: 37093
Re: Cycle through expressions to clear warnings/errors
So I wonder if there's any global expression-refresh command? So I can easily just cycle through all expressions for a layer or comp to make them valid again...? No. There's a reason it behaves this way. And for the other matter: If your code doesn't evaluate, then it is crooked. By all means, AE w...
- September 25th, 2008, 10:13 am
- Forum: Expression Discussion
- Topic: If statement in Expression that refuses to cooperate.
- Replies: 9
- Views: 22261
Re: If statement in Expression that refuses to cooperate.
...oh btw. Forgot some essentioal information. These expressions are added to a Expression Control Slider on the animated text later. That Expression Control Slider is the "Opacity Fix Bounce" slider.