1
00:00:00.05 --> 00:00:02.06
- [Instructor] In this movie
I'll show you how to adjust

2
00:00:02.06 --> 00:00:06.09
the guides to customize the
effect of 9-slice scaling.

3
00:00:06.09 --> 00:00:07.08
Alright, so here we are

4
00:00:07.08 --> 00:00:09.04
looking at the badly stretched artwork.

5
00:00:09.04 --> 00:00:12.05
I'll go ahead and select it by
clicking inside the artwork.

6
00:00:12.05 --> 00:00:14.03
You can't click inside the frame.

7
00:00:14.03 --> 00:00:16.08
You can't even click on
the frame by the way,

8
00:00:16.08 --> 00:00:17.09
that's not going to work.

9
00:00:17.09 --> 00:00:19.07
So you have to click someplace in it.

10
00:00:19.07 --> 00:00:21.01
And I want to modify the symbol,

11
00:00:21.01 --> 00:00:23.04
so I'm going to double
click at which point,

12
00:00:23.04 --> 00:00:25.03
I'll go ahead and click OK

13
00:00:25.03 --> 00:00:27.05
in order to enter the
symbol isolation mode,

14
00:00:27.05 --> 00:00:29.05
and I'll go ahead and zoom in here.

15
00:00:29.05 --> 00:00:30.08
And so once again,

16
00:00:30.08 --> 00:00:33.00
we have two horizontal
guides and two vertical,

17
00:00:33.00 --> 00:00:35.01
and you may wonder how in the world

18
00:00:35.01 --> 00:00:37.06
two horizontal guides
and two vertical guides

19
00:00:37.06 --> 00:00:41.02
have anything to do with the number nine.

20
00:00:41.02 --> 00:00:44.04
Well the idea is that we now
have nine sections of art,

21
00:00:44.04 --> 00:00:47.01
as I'll trace just using
the rectangle tool.

22
00:00:47.01 --> 00:00:49.05
So we've got this upper left quadrant,

23
00:00:49.05 --> 00:00:51.09
and then if I were to switch
back to the black arrow tool

24
00:00:51.09 --> 00:00:53.07
by pressing the V key,

25
00:00:53.07 --> 00:00:56.01
I could then drag it over
to this top central area.

26
00:00:56.01 --> 00:00:58.06
Then we've got a top right region.

27
00:00:58.06 --> 00:01:00.06
We've got a bottom right region,

28
00:01:00.06 --> 00:01:03.02
a bottom central, and a bottom left,

29
00:01:03.02 --> 00:01:05.03
and then we've got a center left,

30
00:01:05.03 --> 00:01:06.09
we've got a center center,

31
00:01:06.09 --> 00:01:08.09
and then we've got a center right.

32
00:01:08.09 --> 00:01:10.05
So, nine regions in all.

33
00:01:10.05 --> 00:01:13.06
And the idea is that
this area in the center

34
00:01:13.06 --> 00:01:15.07
is going to stretch all over the place.

35
00:01:15.07 --> 00:01:18.01
Whereas these guys in the far corners,

36
00:01:18.01 --> 00:01:22.02
top left, bottom left,
bottom right, and top right,

37
00:01:22.02 --> 00:01:24.08
they're not going to scale at all.

38
00:01:24.08 --> 00:01:26.06
So they're going to remain fixed.

39
00:01:26.06 --> 00:01:30.00
And then this region is
going to scale vertically.

40
00:01:30.00 --> 00:01:32.02
This region's going to scale vertically.

41
00:01:32.02 --> 00:01:34.01
Whereas the top central region

42
00:01:34.01 --> 00:01:35.07
and the bottom central region

43
00:01:35.07 --> 00:01:38.01
are going to scale horizontally.

44
00:01:38.01 --> 00:01:41.01
And so what we need to
do is set up the guides

45
00:01:41.01 --> 00:01:43.07
so that the proper portion
of the artwork is scaling.

46
00:01:43.07 --> 00:01:46.04
Alright so I'll go ahead and
get rid of that rectangle,

47
00:01:46.04 --> 00:01:49.04
and now I'll hover over this
horizontal guide right here.

48
00:01:49.04 --> 00:01:50.05
The right hand guide.

49
00:01:50.05 --> 00:01:53.05
And I'll drag it to the
other side of the arrowhead,

50
00:01:53.05 --> 00:01:56.03
and that way, the
arrowhead is now protected

51
00:01:56.03 --> 00:01:58.04
from any horizontal scaling.

52
00:01:58.04 --> 00:02:02.05
Now I'll drag this left
guide to beyond the tail,

53
00:02:02.05 --> 00:02:03.09
the feathery tail there,

54
00:02:03.09 --> 00:02:05.08
and now that's going to take care of the

55
00:02:05.08 --> 00:02:07.03
horizontal scaling just fine.

56
00:02:07.03 --> 00:02:10.03
But it's still going to mess
up the vertical scaling.

57
00:02:10.03 --> 00:02:12.06
Which is why we need to
take this bottom guide

58
00:02:12.06 --> 00:02:15.03
and move it to above the rounded corner.

59
00:02:15.03 --> 00:02:17.04
And then we need to take the top guide

60
00:02:17.04 --> 00:02:20.04
and move it to below the rounded corner.

61
00:02:20.04 --> 00:02:22.06
So just this region is
going to scale vertically,

62
00:02:22.06 --> 00:02:25.08
and this region is going
to scale horizontally.

63
00:02:25.08 --> 00:02:27.08
After which point, I'll press the ESC key,

64
00:02:27.08 --> 00:02:30.08
in order to update the
symbol and you can see,

65
00:02:30.08 --> 00:02:33.01
that ends up working beautifully.

66
00:02:33.01 --> 00:02:35.00
And I could continue to scale this guy

67
00:02:35.00 --> 00:02:38.04
anyway I like and I'm
never going to effect

68
00:02:38.04 --> 00:02:40.02
the arrowhead or the tail

69
00:02:40.02 --> 00:02:43.01
and I'm not going to stretch
the arrow vertically at all.

70
00:02:43.01 --> 00:02:45.04
Alright, now let's see what happens

71
00:02:45.04 --> 00:02:49.01
if we focus our attention
only on the arrow.

72
00:02:49.01 --> 00:02:52.03
I'm going to go ahead and
select these paths like so.

73
00:02:52.03 --> 00:02:54.02
And I'm no longer interested
in the bounding box,

74
00:02:54.02 --> 00:02:55.08
so I'm going to go up to the view menu

75
00:02:55.08 --> 00:02:57.03
and choose hide bounding box,

76
00:02:57.03 --> 00:02:59.09
or you have the keyboard
shortcut of control shift B,

77
00:02:59.09 --> 00:03:01.07
or command shift B on the Mac.

78
00:03:01.07 --> 00:03:04.06
And then I'll once again
bring back my symbols panel

79
00:03:04.06 --> 00:03:06.05
and I'll click on the little page icon

80
00:03:06.05 --> 00:03:07.07
at the bottom of the panel,

81
00:03:07.07 --> 00:03:10.01
and I'll call this guy arrow only.

82
00:03:10.01 --> 00:03:13.07
I'll set the registration
point to the middle left

83
00:03:13.07 --> 00:03:15.09
right here and we'll see what
that looks like in a moment.

84
00:03:15.09 --> 00:03:18.09
And then I'll turn on enable
guides for 9-slice scaling

85
00:03:18.09 --> 00:03:21.00
and I'll click OK.

86
00:03:21.00 --> 00:03:23.01
And that turns this guy into an instance

87
00:03:23.01 --> 00:03:24.02
as we're seeing here.

88
00:03:24.02 --> 00:03:26.02
Notice the cross is now appearing over

89
00:03:26.02 --> 00:03:28.01
on the left side of the shape.

90
00:03:28.01 --> 00:03:29.06
And that's because that's where

91
00:03:29.06 --> 00:03:30.08
I just put the registration point.

92
00:03:30.08 --> 00:03:33.00
And so let's say I decide
to scale the arrow,

93
00:03:33.00 --> 00:03:35.02
this time using the scale tool.

94
00:03:35.02 --> 00:03:39.00
Notice that the origin point
is now located by default

95
00:03:39.00 --> 00:03:41.09
over here on the left side of the object.

96
00:03:41.09 --> 00:03:44.01
Now I can still move it
if I want to by clicking,

97
00:03:44.01 --> 00:03:46.02
however its default location

98
00:03:46.02 --> 00:03:48.07
is going to be right about there,

99
00:03:48.07 --> 00:03:51.03
and I'll see that's the case
if I switch back and forth.

100
00:03:51.03 --> 00:03:53.06
I'll just press the V key to switch back

101
00:03:53.06 --> 00:03:55.03
to my black arrow tool

102
00:03:55.03 --> 00:03:56.07
and then I'll click on
the object to select it

103
00:03:56.07 --> 00:03:58.08
and I'll press the S key to
switch back to the scale tool.

104
00:03:58.08 --> 00:04:00.09
And there it is.

105
00:04:00.09 --> 00:04:02.08
Alright now I'm just
going to drag horizontally

106
00:04:02.08 --> 00:04:03.09
to scale the arrow.

107
00:04:03.09 --> 00:04:05.05
And I'm pressing the shift key as well,

108
00:04:05.05 --> 00:04:07.05
so that I'm scaling the arrow.

109
00:04:07.05 --> 00:04:09.02
And you can see that as before,

110
00:04:09.02 --> 00:04:10.06
it's very messed up.

111
00:04:10.06 --> 00:04:12.06
Now let's say what I want to have happen

112
00:04:12.06 --> 00:04:14.07
is that just the shaft scales horizontally

113
00:04:14.07 --> 00:04:18.02
and that no scaling occurs vertically.

114
00:04:18.02 --> 00:04:21.01
Well, can't really pull that off.

115
00:04:21.01 --> 00:04:22.06
And let me show you what I mean.

116
00:04:22.06 --> 00:04:25.02
I'll press the V key to
switch to my black arrow tool

117
00:04:25.02 --> 00:04:27.01
and I'll double click on the shape

118
00:04:27.01 --> 00:04:29.09
in order to edit the
original symbol definition

119
00:04:29.09 --> 00:04:32.07
and then I'll just go ahead
and drag the vertical guides

120
00:04:32.07 --> 00:04:35.07
so they fit right there
inside that purple shaft.

121
00:04:35.07 --> 00:04:38.09
And as things stand now this
are would scale vertically.

122
00:04:38.09 --> 00:04:40.09
I don't want it to
scale vertically at all.

123
00:04:40.09 --> 00:04:43.07
So I'm just going to
move these guides up here

124
00:04:43.07 --> 00:04:46.05
to an empty region in
order to fool Illustrator,

125
00:04:46.05 --> 00:04:48.08
and then I'll press the ESC
key to accept that change.

126
00:04:48.08 --> 00:04:50.07
And now notice it just says,

127
00:04:50.07 --> 00:04:52.06
"Fine. If you're going to be that way,

128
00:04:52.06 --> 00:04:54.09
then I'm just going to
scale the entire shape,

129
00:04:54.09 --> 00:04:57.02
and I'm not going to pay
attention to your guides at all."

130
00:04:57.02 --> 00:04:58.05
So there you have it.

131
00:04:58.05 --> 00:05:00.04
Illustrator cannot be fooled.

132
00:05:00.04 --> 00:05:03.03
So what you have to do is
double click on that guy again,

133
00:05:03.03 --> 00:05:06.00
click OK, and then just go ahead

134
00:05:06.00 --> 00:05:09.00
and move one of the guides
to underneath the arrow

135
00:05:09.00 --> 00:05:11.07
and the other to above the arrow like so,

136
00:05:11.07 --> 00:05:13.05
and then press the ESC key.

137
00:05:13.05 --> 00:05:15.09
And notice now that Illustrator goes ahead

138
00:05:15.09 --> 00:05:17.09
and stretches the arrow
the way I want it to.

139
00:05:17.09 --> 00:05:20.09
The problem is, if I click
on the arrow to select it

140
00:05:20.09 --> 00:05:23.04
and press the S key to
switch to the scale tool,

141
00:05:23.04 --> 00:05:25.03
and I scale this guy vertically,

142
00:05:25.03 --> 00:05:29.02
then I'm going to just scale
the arrow proportionally.

143
00:05:29.02 --> 00:05:31.05
Alright that's not what I want however,

144
00:05:31.05 --> 00:05:33.05
so I'll just undo that last scale.

145
00:05:33.05 --> 00:05:35.00
And to finish off the effect,

146
00:05:35.00 --> 00:05:37.00
I'll press the V key to
switch to my black arrow tool

147
00:05:37.00 --> 00:05:39.02
and I'll just drag this banner item over,

148
00:05:39.02 --> 00:05:41.03
so that it kind of fits inside

149
00:05:41.03 --> 00:05:44.04
the negative space of the arrow.

150
00:05:44.04 --> 00:05:46.02
And that's how you adjust the guides

151
00:05:46.02 --> 00:05:49.03
to customize the effects
of 9-slice scaling,

152
00:05:49.03 --> 00:05:51.03
here inside Illustrator.

