cyzer saidAfter selecting the property that has the expressin go to Animation >> Keyframe Assistant >> Convert Expression to Keyframes. Image Explains ThatHello, guys n girls maybe some of you know how to extract keyframes from wiggle effect ? In example I just make wiggle expression and then I want all the timeline to be covered with those actual keyframes and then delete the wiggle expression. How to do that ?
Creattive said@GloriousVids
you need to use the âlinearâ function on the opacity for that.
linear( :pickwhip the x-value of your slider object: , 151, 582, 0, 100)
Hallo there I to use need the same function (layers position affect opacity of another layer) for a
"customization panel" I am working right now.
My layers x position already affects the opacity of the âchilds layerâ but not in the 0-100 scale.
So I need some more detailed information on how to apply that line:
linear( :pickwhip the x-value of your slider object: , 151, 582, 0, 100)
Thanks
Hello Pixelit_Plus!
It is hard to write it all but my image explains a lot. (I hope)
Anyway, i made it and it works just fine. I made a bar length of 300px. You can see the image below and the code refercing 300. Thats the length theat represents 100% opacity.
With this code it does not matter where the slider is. Link the arrow to Bar!!!
As you can see, iâm trying to make a âpercentage circleâ, and iâm having big struggles parenting the text in the middle to the opposite amount of the radial wipe from the blue circle, the problem is that i would like to be able to do this :
- If the transition completition is at 90%, the text will say 10%
- If the transition completition is at 10%, the text will say 90%
- If the transition completition is at 50%, the text will say 50%
MartinLemaire saidThe solution is to subtract from the value 100 then multiply it by -1As you can see, iâm trying to make a âpercentage circleâ, and iâm having big struggles parenting the text in the middle to the opposite amount of the radial wipe from the blue circle, the problem is that i would like to be able to do this :
If possible, i would also like to display the "%" symbol after the number Thanks for your answers
- If the transition completition is at 90%, the text will say 10%
- If the transition completition is at 10%, the text will say 90%
- If the transition completition is at 50%, the text will say 50%
To add " % " mark, itâs simple just add to that (" % ")
This is how the expression looks like :
((Pickwhip your radial wipe transition value - 100)*-1) + ("%")
The only problem is the text will show many numbers after the comma, i saw a solution in one of Felt_tips videos but i canât remember what is the name of that video.
Good luck
osama_sayegh saidThe only problem is the text will show many numbers after the comma, i saw a solution in one of Felt_tips videos but i canât remember what is the name of that video.
Okay thanks, iâll try to solve this problem by myself
MartinLemaire saidLooks like you've missed the two brackets at the beginning of the expressionBad news, after typing your expression this message appears any tips ?
((Pickwhip your radial wipe transition value - 100)*-1) + ("%")
Replace only âPickwhip your radial wipe transition valueâ, anything else is important
If the image is not clear, click here
Good luck
^ It works ! Thanks you sir
However, i donât find any answers for the problem about numbers after the commaâŚ
MartinLemaire said^ It works ! Thanks you sir
You are welcome ! (No need for âsirâ )
MartinLemaire saidHowever, i donât find any answers for the problem about numbers after the commaâŚ
Math.round(((REPLACE THIS - 100)*-1)) + ("%")This expression removes all the numbers after the comma, replace only "REPLACE THIS" with your value
Good luck
Okay man, but i would to make it change through the time, when i apply your expression, the number stays to 100%
MartinLemaire saidI think the problem is that you have not animated the transition completion, have you ? if yes, please post a screenshotOkay man, but i would to make it change through the time, when i apply your expression, the number stays to 100%
MartinLemaire saidSorry, my mistake, i didn't mention that you have to remove the old expression, just use this^
I did
Math.round(((REPLACE THIS - 100)*-1)) + ("%")replace "REPLACE THIS" with transition completion value
Thanks for your time!
I have tested your âexampleâ but unfortunatelly I the âArrowâ layer cant be moved at all! in order to affect âshape testerâ opacity!
What I did is this line for the layer affected
comp(âFor_Customizationâ).layer(âText_Glossiness_Sliderâ).transform.xPosition
And this layer which x position is affecting tha above layer opacity
x = clamp(position[0], 0,100);
What I would like to accomplish is:
- The x distance to be more than 100 pixels to be more âdetailedâ for the selection
- If there is a way to limit the the x position âsliderâ to 10 steps.
Thanks
osama_sayegh saidMartinLemaire saidSorry, my mistake, i didn't mention that you have to remove the old expression, just use thisI did
Math.round(((REPLACE THIS - 100)*-1)) + ("%")replace "REPLACE THIS" with transition completion value
Thank you so much osama !
Pixelit_Plus saidHere is the project. Hope it will help (AE CC): linkThanks for your time!
I have tested your âexampleâ but unfortunatelly I the âArrowâ layer cant be moved at all! in order to affect âshape testerâ opacity!What I did is this line for the layer affected
comp(âFor_Customizationâ).layer(âText_Glossiness_Sliderâ).transform.xPositionAnd this layer which x position is affecting tha above layer opacity
x = clamp(position[0], 0,100);What I would like to accomplish is:
- The x distance to be more than 100 pixels to be more âdetailedâ for the selection
- If there is a way to limit the the x position âsliderâ to 10 steps.
Thanks
That exactly what I was looking for!!! BIG Thanks!!!
Is there a way to help me with a second âobjectâs x positionâ slider?
What I need is object x position to REPLACE A FUNCTIONAL slider used as a background selector which background frames are in another comp.
So has to be step limited lets say 1 to 10 (every frame links a background choice)
This slider (used in a control panel) is a âselectorâ used in conjunction
with this script line:
state=comp(â1_For_Customizationâ).layer(âControlsâ).effect(âBackgroundâ)(âADBE Slider Control-0001â);
framesToTime(state);
WeTransfer Link of the slider surface selector already working which I want to replace an object x 10 stepped position:
http://we.tl/IcI1RdQ3DM
Pixelit_Plus saidThat exactly what I was looking for!!! BIG Thanks!!!
Is there a way to help me with a second âobjectâs x positionâ slider?
What I need is object x position to REPLACE A FUNCTIONAL slider used as a background selector which background frames are in another comp.
So has to be step limited lets say 1 to 10 (every frame links a background choice)This slider (used in a control panel) is a âselectorâ used in conjunction
with this script line:
state=comp(â1_For_Customizationâ).layer(âControlsâ).effect(âBackgroundâ)(âADBE Slider Control-0001â);
framesToTime(state);WeTransfer Link of the slider surface selector already working which I want to replace an object x 10 stepped position:
http://we.tl/IcI1RdQ3DM
What you basically need is an switch function. I used it in my universal counter in infographics kit template. I needed different currency sign in suffix (dollar, euro, yen etc). Drivable by slider control. So that value on slider was: 0=no suffix, 1=dollar, 2=euro etc.
switch(expression) {
case n:
code block
break;
case n:
code block
break;
default:
default code block
}