- [Instructor] All right, so obviously,
I've reverted this file to its saved appearance
so that we can take on yet another topic.
And this one is known as 9-slice scaling,
which allows you to control exactly which portions
of a symbol scale and which don't.
And it's such a great feature
that you may find yourself using symbols
for 9-slice scaling alone.
And to get a sense for how it works,
go up to the File menu and choose the New command.
And then, regardless of the appearance
of your new document dialog box,
change the profile to Print.
And then, just go ahead and click OK.
Document size really doesn't matter at this point.
Now, the reason we created a new print document
is because each kind of document ends up
getting different kinds of symbols by default.
And so if I were to click on the little club icon
to bring up the Symbols panel,
you'll see this guy right here, Trim Marks with 9-Slice.
Go ahead and click on it to select it,
and then click on this icon, Place Symbol Instance,
to add the symbol to the middle of the artwork.
And now I want you to notice what we have
are a bunch of printer marks that we can assign
to any artwork we like.
So we have these horizontal and vertical trim lines,
we have the registration marks, these little targets,
and so forth.
And notice that I'm still seeing my bounding box,
which means that I can scale my artwork
just by dragging one of the corner handles.
And if you want to scale the artwork
from the center outward, then you can press the Alt key
or the Option key on the Mac as you drag.
And what I want you to see here is that while the area
between all the printer marks is scaling,
the printer marks themselves are staying the same.
They aren't scaling at all.
And you can even see that happening on the fly right here,
and it doesn't matter whether I squish the artwork
horizontally or whether I squish it vertically.
And note that I have the Alt key or the Option key
down on the Mac the entire time here.
Regardless of how I scale this,
those printer marks are going to be protected.
Now, that's going to end up changing
if I make the artwork too small,
notice that everything is shrinking at this point.
But all long as Illustrator can avoid
scaling the printer marks, it will.
So how do we make this happen?
Well, I'll go ahead and switch back to this document,
and it may surprise you to know
that we've got a second art board.
To get to it, press Shift + Page Down,
at which point you will see these arrows
along with these yellow banners.
Now, I want to set things up so that
if I were to scale the artwork horizontally,
I would scale just the purple shaft
while leaving the green feathers and this steely tip alone.
And if I were to scale the artwork vertically,
I would affect the banner and nothing more.
And to make that happen, I need
to convert the artwork to a symbol.
And so I'll go ahead and select this stuff like so,
and then I'll bring back my symbol panel,
and I'll click on the little page icon at the bottom here.
And I'll go ahead and call this guy
Arrow & banner, let's say, and for the time being,
I'm going to leave the other options set to their defaults,
and I'll go ahead and click OK.
All right, now that not only creates a new symbol,
but it also converts all of our artwork
to an instance of that symbol,
and we can tell that's the case
because we can see the word Symbol over here
on the far left side of the control panel.
And so notice if I now go ahead and scale my artwork,
I'm stretching it in all directions,
so I'm stretching the artwork uniformly horizontally
as well as uniformly vertically.
That is, both the horizontal and vertical scale
are being distributed equally
over the course of the entire instance.
If I don't want that to be the case,
then I'd go ahead and make sure that symbol is selected,
and then you want to click on the dialog box icon
at the bottom of the Symbols panel
to revisit the Symbol Options dialog box,
and you want to turn on this check box right here,
Enable Guides for 9-Slice Scaling,
which at first is going to seem a little bit obscure.
But notice if I click OK, then Illustrator
scales things totally differently.
So what I want you to see here
is this region of feathers is not getting scaled at all.
This region down here is getting stretched vertically,
and then this area up here is getting stretched
only horizontally, and this area's
getting stretched in both directions.
So basically, we're focusing the scaling
on the central portion of the artwork,
whereas the corners aren't really getting scaled at all.
And to see why that is, what you want to do
is edit your symbol definition.
And the easiest way to make that happen
is to double-click on the artwork.
And so incidentally, even though we have a bounding box,
you can't click in the bounding box to select the symbol.
That's going to deselect it.
You can't click on the frame, you can't even marquee it,
you have to actually click inside the artwork to select it.
Then, you want to double-click
in order to edit the symbol definition.
In which case, you may get an alert message
telling you that that's exactly what you're about to do.
In which case, just click OK.
And now notice that Illustrator
has automatically added two horizontal guides
and two vertical guides.
Your job now is to adjust those guides
to tell Illustrator exactly which portion
of the artwork that you want to scale.
Turns out, that part of the task is a little tricky,
which is why I'm going to show you exactly how it works
in the very next movie.