Hi guys in the previous lecture you created your first pie chart.
Now the project was about creating six or 10 of them and displaying them on the composition here as
play camps and adjusting the values.
I imagine what kind of job you have to do now you have to go to every pre-camp here and doubleclick
on it go find it and adjust and and know what.
It's really very tedious in this lecture.
I will show you how to use the expression controls to control all these charts in terms of numbers and
the color of the page itself in a single layer.
Let's start so I'm back now to a single pie and this is where we left off.
So now we start you know adding the controls and then we would duplicate Well if I want to control at
least the percentage for this by just from here I need to put the controls in this composition.
The best way to add controls is to add an adjustment.
Add the controls to the adjustment layer.
And then you come over here period the adjustment that is raised or to show you how.
If I right click go to new and add an adjustment layer of course comes on top.
And when I click and put it on bottom and actually I don't want even to catch it.
So I put the scale to zero.
That's a small trick.
Now it's like impossible to see it here but it's operated very fine for what you want to do.
Now let's go to a facsimile set you have here.
Expression controls I will focus on the slide of control and the color control for this deck.
Let's take a slider control and drop it on the adjustment.
Now the control panel open because this has an effect and you have the slider over the first I want
to lock this button if I lock it when I change positions or change.
Affect is not going to disappear is going to stay that and over here we have a slider Let's frame the
slider exactly like we have done for the and in the path out keyframe the slider over here come to the
leprous you see the keyframe go after one second for example or as long as you want.
And of course put it at 100 percent.
Now if you turn down here you will find the slider it can go to 100 percent.
But when it comes to the value here this slider can go infinite almost.
So I give him again to 100 percent.
So I had the slide that he had absolutely no effect at all.
Let's go to the PI now and select the Shipler where we have the by press you and you have the and here
going from zero to 100 percent.
Let's pick up this and to the slider itself here.
Now if you're not this it's working pretty fine without even the keyframes anymore.
If you are because the green path has taken the values of the slider for the end let's go down and see
exactly the expression itself.
Now that's what's happening.
It is pretty interesting.
First of all is no more.
This camp it is Gamp maimed Mumbai's.
It means go fetch from comp main pies.
So changing comps from player adjustment to one the effect slider control and from there isn't the ethics
slider control take the slider.
Notice we have slider control and we have slider.
That's the name the slide the control now by one as simple as this.
Of course the expression has changed.
Let's go back to the main here and set up the adjustment layer press enter and rename it controls Let's
go back to buy one or not notice the expression it's pretty neat.
Gamp made by layer controls effect by one slider.
And of course is the side good.
If I come back here now already it Ashtiani the animation.
But of course it's going to 100 percent like it says you I will change the value here to 75 percent.
Here.
It is identical.
Pretty good right guys.
Now let's control the color.
You know you have color control click on it.
Drag it and drop it either on the controls or inside the X.
It said I want the color control here to control the color of the by itself replace the white find go
to buy one.
And of course I'm going to go into the shape of this buy one over here.
OK let's make this one get a bit to see better.
And we go to the stroke and this is the color of the stroke.
Is it as simple as this to the color you are.
It begins right now of course.
Please guys come back to the main here and change the color from here.
OK.
So here you are for example make it S.R.O something like this.
So now from over here in the composition we are controlling the by percentage and we are also controlling
the color itself.
Very good.
So now we can come back to the project panel take buy and duplicate it.
So that's pie to take pie to and drop it over here.
If you go to buy to DoubleClick and we select all the layers and press each to see only the expressions
and you notice that Shipler is still controlled by many pies controls but it's by one called School
here and take by one and the color and then duplicate them control the click and drag and try to put
them on the bottom so that by two and color control.
Let's come to the expression itself and change just the name.
So I go for two and color control here just over here space to make sure that you are doing the same
spelling.
Otherwise you can pick it up again if you like.
Let's go to the main page now and we select by tulis moved over here display.
Here you are very nice they have the same colored same percentage.
Good.
Let's open the keyframes.
And then we can change the 75 percent here to 35 percent for example.
You ought to do that and change the color.
Now.
I don't know something nice.
This will be called bit.
Here you are.
So now you have something very interesting here just from the main composition using this adjustment
layer that is almost invisible.
You'll have added the controls here and you are controlling Now the two by one and by two.
Very interesting right guys if you'd like to add more.
It becomes very easy.
Let's go to the project itself.
Select by two or by one the one that you like and duplicated again test by three and we take by three
with drop it in.
So we have now by three on top.
OK.
And it's here we can adjust them nicely in by three here.
I will double click.
You know you can add more controls to control even this one.
Let's go to the ethics control now select by two and control to duplicate them.
Click on drag to put them under I guess so.
So we have three color control three.
It became much easier.
And of course you want to change here to three and control two three as soon as you made the changes.
Renaming this will not be a problem anymore.
Here you are.
Now we have the three of them working.
Let's go to buy three and make it for example Sixty five percent.
It's already there.
Let's change the color and make it for example some kind of purple here.
So now after you complete your project you have duplicated six times you adjust it.
You can just start changing the values from over here.
So if the boss comes and says this is not 65 percent this 32 this 85 this is 30 or whatever you like
and change the colors like this change of color like this.
And then it's very easy for you to just adjust the controls from the main control here which is the
adjustment layer.
So the main object of this lecture is to create adjustments that add the controls in the adjustment
layer and then start duplicating and creating more compositions and having a single control from a single
player.
Thank you.
I will see you in the next election.