Illustrator CS4 for the Web

Illustrator CS4 for the Web

with Mordy Golding

 


Mordy Golding demonstrates how to be more productive, efficient, and creative by taking advantage of Adobe Illustrator to create pixel-perfect web graphics and interactive Flash content. Illustrator CS4 for the Web investigates the pros and cons of pixel- and vector-based web graphics, demonstrates efficient workflows, and explores the creative options available in Illustrator. Mordy also covers design techniques, such as creating typography that works well on screen, adding reflections, and making Flash animations. He discusses new Illustrator CS4 features, including using multiple artboards, bringing art into Dreamweaver, and utilizing Flash Catalyst. Exercise files accompany the course.
Topics include:
  • Differentiating between pixel- and vector-based web graphics
  • Creating screen-friendly typography
  • Adding reflections
  • Creating Flash animations
  • Using multiple artboards
  • Bringing art into Dreamweaver
  • Utilizing Flash Catalyst

show more

author
Mordy Golding
subject
Web, Web Graphics, Prototyping, Web Design
software
Illustrator CS4
level
Intermediate
duration
2h 56m
released
Jan 23, 2009

Share this course

Ready to join? subscribe


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Welcome
00:06What? You've never used Illustrator for web graphics? Well, you're about to
00:10discover what you've been missing.
00:12Hi! I am Mordy Golding and this is Illustrator CS4 for the Web.
00:17If you are here, I am assuming that you have a working knowledge of
00:19Illustrator. If not, you might first take a look at the Illustrator CS4
00:23Essential Training to get up to speed.
00:26Throughout this presentation, I'll show you how you can take advantage of the
00:29benefits of Adobe Illustrator to create pixel-perfect web graphics as well as
00:34cool and functional interactive Flash content. We'll get started by taking a
00:39close look at both pixel-based and vector-based web graphics workflows and
00:44we'll learn how to increase our options with the use of Illustrator.
00:47I'll share lots of great design techniques like creating typography that looks
00:50great on screen as well as easy ways to add those cool reflections that you see
00:54everywhere on the web these days. We'll even learn how easy it is to create
00:58really cool Flash animations.
01:00Along the way, I'll introduce you to some of the most productive features of
01:03Illustrator, like using multiple artboards new to Illustrator CS4, and how to
01:08bring your art into Dreamweaver as well as the new and very cool Adobe Flash Catalyst.
01:14So are you ready to be more productive, more efficient, more creative?
01:18Of course, you are. So let's get started with Illustrator CS4 for the Web.
Collapse this transcript
Understanding pixel- and vector-based web graphics
00:00There are really two ways to use Illustrator for web design. You can either
00:04design artwork inside of Illustrator and then export it directly for use on the web,
00:08 or you can create artwork inside of Illustrator and then import those into
00:12other applications, which will then export items to the web.
00:15What's great about Illustrator is that you could choose either/or without any
00:18consequence. Now within web workflows specifically though, you kind of boil
00:22these things down to two categories. There are pixel-based web graphics and
00:27then there are vector-based web graphics.
00:29Both of these workflows each have their own individual challenges and
00:32generally the direction that you choose is dictated by the file formats that
00:36are required to deliver your artwork in.
00:37For example, GIF, JPEG, PNG and Wireless Bitmap formats are pixel-based
00:43web graphics, and if you're using Illustrator in tandem with other design
00:46applications, you might consider taking your artwork from Illustrator into
00:49Photoshop, Dreamweaver or Fireworks.
00:52However, if you're creating vector- based web graphics, your file formats will
00:55probably be SWF, SVG or FXG, and if you're using Illustrator as a starting
01:00point for your web design, you'll find yourself bringing your artwork into
01:03programs like Flash Professional, the new Adobe Flash Catalyst, Flex Builder or
01:08even Fireworks.
01:09You may notice that Fireworks appears listed in both categories and that's
01:13because Fireworks supports both pixel-based and vector-based graphics.
01:17Now, I actually split this video title into two parts. The first few chapters
01:21deal with the challenges of creating perfect pixel-based web graphics in
01:24Illustrator, which is primarily a vector-based application. The remaining
01:28chapters focus primarily on vector- based artwork destined for Flash.
01:32With these things in mind, let's get started.
Collapse this transcript
Using the exercise files
00:00If you're a premium member of the lynda.com Online Training Library, or if
00:05you're watching this tutorial on a disc, you have access to the Exercise Files
00:08used throughout this title.
00:10Exercise Files for this title are arranged by chapter, as you can see here in
00:13this folder. If you're a monthly or annual subscriber to lynda.com, you don't
00:18have access to the Exercise Files but you can certainly follow along.
00:21So, let's get started.
Collapse this transcript
1. Creating Documents
Using the Web New Document Profile
00:00I've always believed that Illustrator suffers from somewhat of an identity crisis.
00:04I mean, there are so many different types of projects or design
00:07tasks that you can do with Illustrator, and because of that Illustrator has
00:10many different settings and preferences, each of them optimized towards each of
00:14those workflows. Rather than just jumping in and creating a brand-new file and
00:18then worrying about getting all those settings right, Illustrator allows you to
00:21be proactive.
00:22And you do that by creating a new document based on a profile. In this way,
00:25you're really telling Illustrator what type of document you're about to create,
00:28and that way all the settings would be correct once that file is opened.
00:31When you launch the program, Illustrator presents you with this Welcome screen,
00:35and on the right side where it says Create New, you can choose between Print,
00:38Web, Mobile and Devices, and also Video and Film Documents. Since we're
00:42creating web graphics, let's get started by creating a web document.
00:45Since we're letting Illustrator know what type of graphics you want to create,
00:49there are a couple of settings that right off the bat will be done correctly
00:51for us. For example, notice that the measurements are now being done in pixels.
00:55I'll also come down here where it says Advanced and I'll click on this button.
00:58I'll see that the Color Mode for this document is already set to RGB, which is
01:01correct for web graphics.
01:03My Raster Effects are set to a low enough resolution for the web, 72 pixels per
01:07inch, and I also see there is a Preview Mode here. Right now it's set to
01:11Default but as we'll soon see we could also choose an option called Pixel.
01:14The Pixel Preview Mode is a completely different preview that allows us to view
01:17optimized graphics right on our screen.
01:19Now, one of the things to note about Illustrator CS4 is that you now have the
01:23ability to create multiple artboards in a single document. For example, maybe
01:26we're creating some kind of a web graphic where we want to show different
01:30possible design ideas to a client, maybe we want to show them three possible
01:34different ideas.
01:35I come over here where it says Number of Artboards, and I'll change that number
01:38to 3. I'll create the document and I'll see that I now have three artboards
01:41created, each of them are sized to 800x600 pixels. Most importantly,
01:46by creating documents in this way, all the settings that we need for creating web
01:49graphics are done right at the beginning of our document.
01:51In this way, we don't have to worry about color shifting later on in our workflow.
Collapse this transcript
Creating your own New Document Profiles
00:00I think it's great that Illustrator ships with four profiles already set, one
00:04for Print, Web, Mobile and Devices and Video and Film. But the reality is that
00:09all my web documents are not the same.
00:10I really wished there was a way that I can create a web profile for the needs
00:13of each of my jobs. For example, I am always creating ad banners, standard web
00:17banners that are 468x60. It would really be great if I could also create a web
00:22profile just for those types of documents. And the good news is that there is.
00:26You can create your custom profiles. In fact, you can create as many as you like.
00:30To create your own web profile, start by creating a new web document. Next,
00:34I'll change the Width and Height settings of my artboard. Let's do 468x60, and
00:39I know that my clients always want to see a variety of different ideas, so I am
00:42going to change the Number of Artboards to 4.
00:44Finally, I come down here on the bottom where it says Preview Mode and I want
00:47my preview to always launch as the Pixel Preview Mode. Now that I've set my
00:51settings, I'll go ahead and click OK and I'll create my document. Now I am
00:54ready to save this as my profile. I'll go to the File menu and I'll choose Save
00:58As. I want to make sure I save this as a native Illustrator file. Because I
01:02want to save this as a web profile, I need to make sure I save it in the right
01:05location so that Illustrator can find it.
01:06I am on a Mac here, so I'll go first to my user folder. I'll click on Library >
01:11Application Support > Adobe > Adobe Illustrator CS4 > en_US, and then I'll
01:16scroll down the list here to where it says New Document Profiles.
01:19I can see here the profiles that already shipped by default with Illustrator.
01:23Let me give my profile a name. Let's say I type in ad_banners and I'll click
01:28Save. I'll use the regular Illustrator options and just click OK. Back in
01:32Illustrator, I'll go to the Help menu and I'll choose Welcome Screen.
01:35That brings up Illustrator's Welcome Screen and I could see now that here on
01:38the bottom of the Create New list that my ad_banner profile has now been added
01:42to the list. So it's really easy to create your own custom profiles and
01:45remember you can create as many as you would like.
01:48Because the location of where you save your profiles is so important, here's
01:51another look at the exact location that you need to save your files on both Mac OS and on Windows.
Collapse this transcript
Taking advantage of web templates and content
00:00Illustrator comes with lots of great content that you could use. For example,
00:04on the Create New section of the Welcome Screen, you'll see there is a button
00:06here called From Template. By clicking on that, it takes you directly to an
00:10area on your hard drive that contains all these templates. Some of these are
00:14great for web design.
00:15For example, by Club you'll see there's a Web Site file. It ends with an .ait
00:19file extension, which stands for Adobe Illustrator Template. In fact, you can
00:23see these templates lot better using Bridge. I'll click Cancel and I'll click
00:26on the Bridge button right here on the top of my screen. If I double-click on
00:29the Club folder, I can see exactly what that website design looks like.
00:33What's important to realize here is that Adobe didn't provide these templates
00:35that I could actually use them for my design, but rather it's a way that I can
00:39reverse-engineer these files to learn how they were built. In fact, some of
00:42these templates can be quite helpful. In fact, if I go back here to the regular
00:45folder, you'll see there is a section here called Blank Templates. Inside of
00:49here is an entire document filled with Banner Ads. I'll double-click on that to
00:53open that up inside of Illustrator and you could see that with multiple
00:56artboards, this document contains all the standard banner ad sizes.
00:59No, there is no artwork here, but it's a great way to get started on a project.
01:03You can also access templates by going to the File menu and choosing New from
01:06Template. In addition, you could take advantage of additional resources such as
01:10swatches or symbols. I come over here and I'll expand the panels. I'll click on
01:14Symbols and then from the bottom left of the panel, I'll click here and I'll
01:18choose something like Arrows.
01:20This is a great resource and once you have this open you can use the arrows
01:23here on the bottom to actually load that additional symbol libraries.
01:26Finally, you can create your own templates. Simply create any new document
01:30whatsoever, add any piece of artwork, add layers, whatever you would like and
01:33then go to the File menu and choose Save As Template.
01:36Unlike New Document Profiles, Templates can contain artwork, layers and other
01:40information inside of it. What's great about templates is that you could also
01:43easily save them and distribute them amongst your colleagues.
Collapse this transcript
Setting up a custom web workspace
00:00I am going to create a New Web Document here using the web profile. I am just
00:03going to use the regular Standard settings, because I want to spend a few
00:05moments talking about the interface inside of Illustrator.
00:08One of the great things that Adobe has done recently is made a unified
00:12interface that applies across the entire creative suite. Even better, you can
00:16customize this workspace to fit your exact needs, and once you have positioned
00:20everything just the way that you like it, you can save or capture that as a
00:23workspace. In fact, the Illustrator team did a wonderful job by including
00:27several workspaces that are already created inside of the program.
00:30Take a look here at the top of the screen, where it says Essentials. If you
00:33click on that, that gives you access to some of the other settings that are
00:37already inside of Illustrator.
00:38For example, some of these workspaces are optimized for different types of
00:41workflows. For example, Painting. For our needs though, it's interesting to
00:45note that Illustrator also comes with a Web workspace. I will go ahead and
00:49choose that option, but I will be honest with you, as a web designer on my own,
00:53I don't necessarily find this as useful. By setting up this workspace, Adobe is
00:57basically telling us that these are the web features that are part of
00:59illustrator, but I find that, based on experience; I like to set up my
01:02workspace just a little bit different.
01:04So what I would like to do is spend a few moments showing you how I create my
01:07Web 2.0 workspace. In fact, I will be honest with you, I want to let you know
01:12that I really like the way that Flash has their interface laid out, so a lot of
01:15the things that I am going to be doing here inside of Illustrator does come from Flash.
01:17I will start by grabbing this dark gray bar right here and dragging it out so
01:22that it no longer is attached to the side of the screen.
01:24The first thing I want to talk about here is working with the toolbar. I am
01:26going to take the tools that are currently on the left side of my screen right
01:29now and drag them all the way across to the right side, and snap them to the
01:33side of the screen here. I will also click once in the bar here to make it a
01:36single row of tools instead of a double row of tools.
01:39Basically, what I am looking for here is to have all of my tools and panels on
01:42one side of the screen, so my eye always knows to go towards that one side of
01:45the screen and my artwork is going to everywhere else.
01:48Next, I want to think about some of the most important tools or panels that I
01:51will be using when creating web graphics inside of Illustrator.
01:54The first thing is the Transform panel. That becomes really important because
01:58it will allow me to precisely position my graphics on my screen.
02:00I will go to the Window menu and I will choose here Transform. I will take that
02:05panel right here, drag it right here, and as soon as I approach the side here a
02:08little bar kind of comes out. I release the mouse and now that becomes its own
02:13doc right here on the side of the screen.
02:14I will also add the Align panel directly to that area as well. This way I have
02:18Transform and Align together.
02:20Next comes working with Color. I will take my Swatches panel from here and I
02:24will drag that here as well. I will also bring the Color panel directly to that
02:27area, and I will also specify that right here, from the flyout menu of the
02:31Color panel, that I choose Web Safe RGB. In this case, I can see the
02:35hexadecimal values of the colors that I choose.
02:38Next, I will drag over Graphic Styles, and also Symbols. These libraries will
02:43help me maintain and also create the web graphics.
02:45Finally, I will bring my Appearance panel right over here and also my Layers
02:51panel. I always find that for most of the graphics that I create the Appearance
02:54and the Layers panels are very, very important. In fact, in Illustrator CS4 the
02:59Appearance panel is really important because it gives me access directly to
03:01some of the panels. For example, the Stroke panel and even the Swatches panel
03:05directly from these little squares.
03:07So what I have here is basically most of the panels that I will be using on a
03:10day-to-day basis when I am creating my web graphics. I will just add a few more
03:14things to really fill out my Web 2.0 workspace.
03:17I will start off by working with the Pathfinder panel. I will drag that in over
03:20here to create a new doc, but I will also collapse that doc, because I don't
03:24need to use it as much. I will also move my cursor just a little bit left here,
03:27where it turns into a double arrow, and I will click and drag so that this
03:30becomes just an icon.
03:32Now I will go to the Window menu here and I will also open up my Attributes
03:34panel. The Attributes panel is important because it gives me options for
03:38applying image maps. Clicking on the tab right here, I will drag that over here as well.
03:42There are two more panels that I use quite often. One of them is the Links
03:46panel. I will go ahead and I will drag that over here as well. Also, the
03:50Actions panel. Let me close these, and now I have created my Optimize workspace
03:54for working with web graphics. Because these panels aren't used as much, I can
03:57simply click on them and then make them go away as needed.
04:00Finally, I will save my workspace. I will go over here to where it says Web,
04:04click, and then choose Save Workspace. I will give it a name; let's call it Web
04:092.0. You can actually use a period or any punctuation when you save a
04:13workspace, so I will call it Web 2 space 0 for now. Click OK, and now I have
04:18done it. I have created my web workspace that's optimized for the way that I work.
04:22What's great about this is that we all know that Illustrator can be used for so
04:25many different tasks. When I am working on something else, I can change my
04:28workspace to be optimized for that kind of workflow.
04:30For example, I will go over here, instead of Web 2.0, let's go, for example, to
04:35Typography. Everything changes, optimized for that kind of workflow. When I am
04:39ready to work inside of web graphics again, I simply come up to the top here,
04:43choose my own workspace, and I'm ready to go.
Collapse this transcript
2. Pixel-Based Web Graphics: Key Considerations
Setting measurement preferences
00:00Making sure that certain Preference Settings are set correctly from the
00:03beginning will really save you a lot of heartache later on. For example, when
00:07working with web graphics, you are always working with pixel dimensions.
00:10Now, when we created a new document using the Web Profile, we saw that
00:14Illustrator already set our measurement system to pixels. However, that doesn't
00:17mean that everything is now using pixels for measurements.
00:19For example, when I click on this rectangle right over here, I could see that
00:23my Stroke is measured in points. I find it easier that when I am designing web
00:27graphics I really want to use a consistent measurement system.
00:29So I will go over here where it says Illustrator and choose Preferences. If you
00:33are on a Windows machine, you would go under Edit and choose Preferences,
00:36but I'm going to choose here Illustrator > Preferences, and then I will choose Units
00:40& Display Performance.
00:41Here for a Stroke Weight, I will also choose Pixels. So now my General setting
00:46is set to Pixels as well as my Stroke. I am going to leave my type setting left
00:50to Points right now, just because in my own designer mind it's easier for me to
00:53understand type size based in points than pixels. But I will leave that up to you.
00:57Now I will click OK, and you notice that when I go ahead and I select this
01:00box right now, my Stroke measurement is measured in pixels. Now, as I make
01:05adjustments all throughout Illustrator, I will have one consistent measurement
01:07system, pixels for web graphics.
Collapse this transcript
Setting preview bounds
00:00As you create web graphics inside of Illustrator, nothing is more important
00:03than the pixel dimensions that we used to define those graphics. What's great
00:07about Illustrator is because its object based and vector graphics are very
00:10precise in nature, it can be very easy for us to create just the right size
00:14graphics that we need.
00:15For example, if I click on this rectangle right over here, I can go over here
00:19to the top where it says Width and Height and see that the size is exactly 90
00:23pixels wide by 20 pixels high. By the way, this is referred to as the Control
00:27panel inside of Illustrator, and what's great about the Control panel is that
00:30it actually senses the resolution that you have your monitor set to.
00:34If you have a smaller monitor or if your monitor is set to a lower resolution,
00:37you may not see these up here. In fact, that's one of the reasons why I had the
00:40Transform panel always available on sight for me.
00:43Again, a quick look here shows me that I have a Width of 90 pixels and a Height
00:47of 20 pixels for the selected object. But is it really 90x20? Let's take a
00:52closer look at this. I am going to go ahead and I am going to Zoom in on this
00:55shape right over here, and I will see that this object right here has a 1 pixel Stroke.
00:58Now, the way that Illustrator draws graphics is that it creates the actual
01:02Stroke on the center line of the path. So that means the Stroke weight right
01:06now is distributed a half a point on the inside and half a point on the outside
01:10of the path. So pixel dimensions that are displayed here on the Transform panel
01:14aren't of the actual physical representation of that graphic, they are the size of the path.
01:19So what I am seeing right here is that the path is 90x20, but because I do have
01:23a 1 pixel Stroke on this particular object, in reality the object is really 91x21.
01:27Now, normally when I am using Illustrator for print graphics, I really wouldn't
01:32care about this. However, every pixel counts when I am working in web design.
01:36Because I rely on precise pixel measurements, I really need to make sure that I
01:40am seeing exactly the way the graphic is going to reproduce itself, not the path itself.
01:45So to make sure that I am always seeing the right pixel dimensions, I am going
01:48to turn on our Preference inside of Illustrator, and I will choose Illustrator
01:51> Preferences. Again, if I were Windows right now, I would choose Edit >
01:54Preferences. Then I will choose the General area.
01:56You will notice there is a setting here; by default its unchecked, its called
02:00Use Preview Bounds. What that setting does is it allows Illustrator to define a
02:04value, not by the dimensions of its path, but by the dimensions of its
02:08appearance. So I will turn that option on and click OK.
02:12Take a look now at what I am seeing here on the Transform panel. That exact
02:16same object here is displaying with a Width and Height of 91x21, not 90x20.
02:21Because it's so important for me to be able to account for every pixel on my
02:24design, I want to make sure when I am working with web graphics inside of
02:27Illustrator that I have that Use Preview Bounds setting turned on. This way
02:32the values that I see in the Transform panel are exactly the way those files are
02:35going to display on a computer screen.
Collapse this transcript
Setting grid preferences
00:00Working with exact pixel dimensions is really important when creating web
00:04graphics. To help you out Illustrator actually has a grid. I am going to go to
00:08the View menu here and choose Show Grid. This grid basically is basically a whole bunch of boxes here.
00:13Almost like graph paper for all of you old time designers out there.
00:17Now, specifically for web graphics though, it would be really great if I could
00:20set up Illustrator so that each square inside of that grid represents a single
00:24pixel. That way as I am working on my design I could really make it easy for me
00:28to make sure that everything is set correctly. I will do this by adjusting my
00:31Preferences for how the grid gets displayed.
00:34Again, I will go to the Illustrator menu here and I will choose Preferences.
00:37I will also choose here Guides & Grid. If you are on Windows you would choose
00:41Edit > Preferences and then again go to Guides & Grid.
00:44Now, there are two settings here that are important for me to know about. First
00:47one is Gridline every. Those are these big bold lines that appear over here.
00:52So what I like to do is set my Gridline to every 10 Pixels. This way
00:56I basically get a solid line that from a distance or even without squinting too
01:00hard at my monitor, I can easily count off pixels in increments of 10.
01:03I will also set the Subdivisions to 10. So what that means is that I will now
01:08have a thick line every 10 pixels, and then in between that I will have 10
01:12squares inside of that. This means that every box that I will see inside of my
01:16grid will represent a single pixel.
01:18Now, what I will also do is I will set my grid over here to be in front by
01:21unchecking this box. Now I will click OK. Let's zoom in on my artwork here to
01:25see what's happening here. I will zoom in right let's say on this particular
01:28part of the graphic, and as I zoom in here I can see that every box that
01:32appears here represents a single pixel. Because I have set my Gridlines to be
01:36every 10 Pixels, I can quickly count off, 10, 20, 30, 40, 50, 60, 70, and know
01:41that this graphic is approximately 70 Pixels wide.
01:44In reality, it could be somewhat annoying to have my grid always in front of
01:47the graphics. I just wanted to show you these possible settings that you can
01:50actually have the grid appear either in front of or behind all of your artwork.
01:54I will go back to the Preferences setting right here and I will turn that
01:57setting back on. In this way, I can see exactly where that grid is,
02:01but it doesn't get in way of the graphics. An important keyboard shortcut is Command+'
02:05or if you are on a PC, Ctrl+'. That easily toggles the grid on and off.
02:11Now that you know how to make the grid work for you, I am sure that you will
02:13find it useful as you start creating web graphics.
Collapse this transcript
Understanding Pixel Preview
00:00One of the great things about vector graphics in general is that you can scale
00:04them to any size, and no matter how big you make them, they always look clean and sharp.
00:08For example, let me zoom in right over here on this little button. If I zoom in
00:11really close, even though I have these nice rounded rectangles, I have this
00:15text here, I can go even closer to look at these beautiful sharp lines.
00:19However, that isn't the case for graphics for the web, especially so for pixel
00:24based graphics.
00:25Have you ever tried downloading an image from the Internet and then zoom in
00:28really close and see it becomes pixilated? That you could actually see the
00:31individual pixels themselves?
00:32Well, let me zoom back out here for a second. Illustrator is almost giving us
00:35this full sense of reality. Here I am inside of this wonderful vector based
00:39application, but at the end of the day my graphics are going to get rasterized,
00:43and how will they look when that happens?
00:45Rather than cross your fingers and wait to find out what happens when you do
00:48so, Illustrator provides us with a different way to preview our graphics.
00:52If we go to the View menu here, we see something here called Pixel Preview. By
00:56choosing Pixel Preview, Illustrator now renders my graphics to the screen, the
01:00same way that they would display inside of a web browser.
01:03For example, watch what happens now when I zoom in really close on this button.
01:07See how I see the pixels themselves. No longer the actual sharp vector graphics
01:12that I saw before, Illustrator is rendering that artwork as pixels. This way I
01:17know exactly how this artwork is going to look when displayed on an electronic screen.
01:20I will zoom back out again because I want to show you a great way how as a
01:23designer you could really take advantage of the regular Preview Mode inside of
01:26Illustrator and also this Pixel Preview Mode as well.
01:29First, I will come back to the View menu and I will just turn off Pixel
01:32Preview; now I am with a Regular Preview Mode. Illustrator has a wonderful
01:35feature that allows me to see my artwork in two different possible states.
01:38I will go to the Window menu here and I will choose New Window. This actually
01:42takes my exact same artwork but creates a new window for it. Take a look. I
01:46have two tabs here at the top of my screen. I have this one here called
01:49groundswell_728x90, and then I have this one called groundswell_728x90. Its
01:54basically two ways to look at the same document, but the beautiful thing about
01:57doing things in this way is that I can change the Preview settings for one of
02:01these views but not for the other.
02:03First, let's change how Illustrator displays these documents. Right now I am
02:07using Illustrator's new tabbed user interface that allows me to have tabs
02:10across the top of my screen, displaying the documents that are currently open,
02:14and I could swap or basically click on these to go back and forth between the two.
02:17But I would really like to see both of these at the same time. If I go up over
02:20here to the Application Bar, there is a setting here called Arranged Documents.
02:24I will click on that, and then I will choose this option here, which will allow
02:27me to choose 2-Up and basically lay these documents so that I can see both of
02:32them at the same time.
02:32I will click on the top document here and adjust my setting here so I can view
02:36it, and I will do the same for here as well. Now I am looking at the exact same
02:40document but through two different windows.
02:42Notice over here I have a 1 and over here I have a 2. I will click in this
02:46window to make this one active, and I will go to the View menu and I will
02:49choose Pixel Preview. What I am basically seeing right now is my original
02:52artwork here, and then this is the exact same artwork but with the Pixel
02:55Preview turned on.
02:56Let me zoom in a little bit closer here on this part of the file. I will do the
02:59same down over here. Here I can see all the pixels and the way that this
03:03artwork is going to get rasterized when displayed on the web.
03:06Here is the way the vectors display. As I make adjustments to my artwork I will
03:10see them updated automatically in that window.
03:12Notice here I can click on it, no matter what I do on either of the windows it
03:15happens exactly in the other window as well. When working this way I could very
03:19easily create things and see things just the way that I want to on the top
03:22window inside of Illustrator and get an immediate preview of what that's going
03:26to look like when its displayed on the web.
03:28If you have two monitors, feel free to actually display both these windows; one
03:31on one monitor and one on the other, in this way you can design everything that
03:35you want in a high res preview inside of Illustrator and then take a quick
03:38glance at the monitor to see what it looks like when rasterized in Pixel Preview.
03:42Overall, when using Illustrator it's really important to take a look at how
03:46Pixel Preview renders your graphics. In doing so you will always know how your
03:50graphics will look like when they are displayed on the web.
Collapse this transcript
Understanding anti-aliasing
00:00In the world of printing, graphics are usually printed at an extremely high
00:04resolution. For example, image setters that create film or plates for printing
00:08often print graphics at 3600 DPI or 3600 dots per inch. However, web graphics
00:15always display on a computer screen, and computer screens have far lower
00:18resolution. In fact, 72 pixels per inch is often regarded as the standard
00:22resolution for most computer screens.
00:24It's important to realize this because normally when you are working inside of
00:28the world of vector graphics you are used to expecting very clean and sharp
00:31output, but on lower resolution computer screens that may not always be the case.
00:35For example, let's zoom in really close on this word right here, BOARDS. Notice
00:39how you see nice, clean, smooth edges that appear here around the letter D or
00:43around the curves of the letter S. Even though our monitor is relatively low
00:47resolution I am still seeing nice smooth edges because the computer employs a
00:50certain technology called anti-aliasing. Anti-aliasing slightly blurs the edges
00:55of color that appear on a computer screen to make it look like its smooth.
00:59You can easily see this by turning off that feature. I will go over here to the
01:02Illustrator menu, or on Windows you would go to Edit menu, choose Preferences,
01:06and then I will choose General. I will uncheck the option here called
01:10Anti-aliased Artwork. In doing so, if I take a look now, I now see there are
01:13jagged edges around this area. I will zoom in closer so you could even see that
01:19a little bit better. I will turn that setting back on again, and you could see
01:20that now those jagged edges go away.
01:23Because web graphics are always going to appear on a computer screen, I always
01:26have to keep in mind that this anti- aliasing will occur, and sometimes it will
01:30do some things to my graphics that I may not expect.
01:33To illustrate this let me Zoom out for a second here, just about right about
01:36over here, and I will split my screen into two windows. I will go to Window,
01:40choose New Window. I will set my setting over here to display it one on top of
01:44each other; let me go ahead and position it just right over here. You might get
01:47a little bit closer on some of these.
01:49On the window on the bottom I will turn my Pixel Preview on. I will go to View
01:53and I will choose Pixel Preview. Take a look, what was once a nice clean sharp
01:57line right over here, turns into this fat ugly line right here. How did that happen?
02:02Notice that the text itself doesn't read that well, like it does over here.
02:06More importantly, take a look at the edges of that rounded corner right here.
02:09See how this is nice and clean and smooth, and on the anti-alias version I see
02:13a stair-step effect.
02:14Since we have the Grid turned on, let's see exactly what's happening here
02:17inside of Illustrator. I get even closer on the file right here on the top.
02:21Take a look at this. Right now the actual dimensions of my file right here are
02:2591 Pixels by 21 Pixels. That's because the actual path itself; if I count off
02:31the pixels that are here, are 10 and 20, so it's exactly 20. But because I have
02:36a 1 Pixel Stroke and because my Stroke is painted on the center line of that
02:40particular path, I am seeing a half a pixel being added as a width on the
02:44outside, and half a pixel on the inside. If I add a half a pixel on the outside
02:49here and I add a half a pixel over here, I end up with a total of 21.
02:53Here's the problem. Each of the squares in this particular grid actually
02:57represent a single pixel, but a computer screen only has the ability to turn
03:01the pixel on or off. There is no way for your computer to only paint half of a
03:05pixel. So how will this particular pixel appear when rendered to my screen, it
03:09only has artwork that fills up half of that particular pixel?
03:12Well, that's where anti-aliasing comes into play. This 1 Pixel line that
03:16appears here, literally right in the middle of twp pixels, will turn into two
03:21fat pixels, and to simulate the line, Illustrator will kind of drop back to
03:25color a little bit, so that it doesn't appear as if my line weigh just grew
03:28twice in width.
03:29Let's zoom in on the bottom here to see exactly where that's happening. My
03:32path, as you can see, goes right through literally the border of two particular
03:37pixels, and instead of me filling a half a pixel for this it actually fills up
03:41the whole pixel.
03:42So what's interesting to see about anti -aliasing here is that even though the
03:45computer is trying to make my graphic look better by smoothing out the lines
03:49using anti-aliasing, the effect is a graphic that ends up looking worse.
03:53Instead of me getting a nice, clean sharp line, I get a fat line that doesn't
03:56look anywhere nearly as good.
03:58With this in mind, there are several things that I could do to correct this
04:00problem. First of all, let's go back over here to the top window. I will select
04:04this object and I will go to my Stroke panel. Notice that there is an option
04:07here called Align Stroke. By default, Illustrator paints the Stroke on the
04:10center line of the path, which is really the cause of the problem right here.
04:14I can choose to align the stroke to the inside of the path, and in doing so,
04:18notice that now my path becomes a single solid pixel and not the two pixels
04:23that it was before. Again, this is happening because the full weight of that
04:26particular stroke right now is taking up a single pixel. It's not falling on
04:30the boundary between pixels which would cause a problem.
04:33Another thing to do is just to avoid using strokes altogether. In fact, when I
04:37am creating my web designs, I try to avoid using strokes and I use filled
04:40shapes instead. If I want to draw a line, rather than draw just a single line,
04:45I draw a rectangle that's one pixel in width. That way I always know what I am getting.
04:49As we learn more about creating web graphics inside of Illustrator, we will
04:52always come back to this point, understanding what anti-aliasing is doing to our artwork.
04:56Now that we know what to look for and how to solve it, we can create great
04:59looking pixel based web graphics using Illustrator.
Collapse this transcript
Disabling anti-aliasing
00:00Anti-aliasing, as we have learned, is both a blessing and a curse. While it
00:04allows us to see beautiful, clean graphics on a computer screen, it can also do
00:08certain things to our web graphics that are somewhat less appealing. In fact,
00:11there are times when you may want to disable anti-aliasing, and one of the
00:14great things about Illustrator is that you can do so on an object by object basis.
00:18Let's take this file for example. I am going to go to the View menu; I am going
00:21to turn on Pixel Preview. So I can now see the anti-aliasing that's going to
00:25appear on this particular document.
00:27Now, right off the bat, you will notice that this particular object in the
00:29middle looks better than the ones in the left and the right of it. That's
00:33because on this object the stroke for that object has been set to align towards
00:36the inside of the path.
00:37I can do the same, let's say, for this object and for this one as well. And
00:43that may be great, but sometimes you will find that text becomes unreadable
00:46because of how blurry it gets when it turns anti-alias. In those cases there
00:51isn't much that you can do except to disable the anti-aliasing for that
00:54particular object.
00:55Now remember, anti-aliasing does smooth out objects so they look better on a
00:59computer screen. So what it really boils down to is do you want something that
01:03looks a little bit prettier but is too blurry to read, or do you want something
01:06that does not look as great but that you can easily see the words? That's the
01:09decision that you as a designer will always have to make.
01:11So let's take a look at this example. I will use my Selection tool to select
01:15this object right here; a regular text object. This is currently set now to
01:18Myriad Pro, Regular, and its set at 14 Points. The anti-aliasing that gets
01:23applied does make it somewhat blurry. So what I will do is I will go over to
01:26the Effect menu and I will choose an option here called Rasterize.
01:29Now, when you apply things to the Effect menu inside of Illustrator that effect
01:33gets added as we call a live effect; meaning it's added in a nondestructive
01:37fashion. So even though this object is text, I am performing now a Rasterize
01:41effect on it. Meaning I am turning it into pixels, but because it's a live
01:44effect, the text still remains text, therefore it's still editable.
01:48If you look towards the bottom of the Rasterize dialog box, you will see where
01:51it says Options; Anti-aliasing is currently set to None. That means this object
01:56will not receive any anti-aliasing. If I click OK, I have rasterized that
02:00object without getting any of the anti-aliasing effects.
02:02So you can clearly see that these objects on the left and the right side have
02:06an Anti-aliasing applied, but this text object right here has no Anti-aliasing applied.
02:10Likewise, I can do the same for the rectangle as well. I can click on it, go to
02:14the Effect menu, choose Rasterize, and then click OK, making sure that the
02:19Anti-aliasing setting is still set to None.
02:21Depending on the artwork that you create, you may find it easier to disable
02:25Anti-aliasing rather than trying to get it to look just right. At the end of
02:28the day though, it's all in your hands, the designer, to decide when objects
02:32should be anti-aliased and when they shouldn't.
Collapse this transcript
Setting up color management
00:00I know it's not a fun subject, but we've got to talk about it. It's color
00:03management, especially considering that web graphics are graphics that are
00:07destined to be displayed on another computer screen, you really want to make
00:10sure that you've got your colors to be just right so that they appear correctly
00:13on other computer screens.
00:15Now I think Adobe has done a wonderful job about making sure that other
00:18applications are consistent when it comes to color management.
00:21In fact, inside of Illustrator if you go over to the Edit menu and you choose
00:25Color Settings down here on the bottom, you'll see that there is a little icon
00:28here and it says, Synchronized: Your Creative Suite applications are
00:31synchronized using the same color settings for consistent color management.
00:35That's really wonderful!
00:36What this means is that whether you open up a graphic inside of InDesign or
00:40Illustrator, Photoshop, they all will look the same. However, the settings that
00:44Adobe chose for all these applications may not be optimized for the kind of
00:48work that you do.
00:49You'll notice here that by Settings it says North America General Purpose 2,
00:53which is really a preset or collection of settings that are predefined by
00:56Adobe, and here's basically what it means. Whenever you're working inside of an
01:00RGB file, use the sRGB color workspace. When you're working with CMYK files,
01:05use the U.S. Web Coated SWOP v2 color space.
01:08Now, if you remember when you create a web profile inside of Illustrator,
01:12Illustrator uses RGB. Now in reality most people think of RGB as just one range
01:17of colors. But there are different color spaces that exist within RGB. For
01:20example, you may be familiar with something called Adobe RGB. In fact, if you
01:24click over here, you can actually choose that from the listing.
01:27The Adobe RGB color space has a much wider gamut or contains more colors than
01:31the sRGB workspace. But the reality is that for web design, you should be using
01:35sRGB, which is correct here on this particular example. Why? Because if you go
01:40out into the world, most people who do access the web don't necessarily have
01:44the greatest monitors.
01:45As graphic designers, you may have wonderful monitors that can display
01:49a larger range of colors, but in general, around the world, sRGB, which is a
01:54smaller or limited range of colors that exist inside of RGB, is a better
01:57workspace to work within. Basically, what you see inside of sRGB will closely
02:02match that which what other people will see on their computer monitors.
02:05In fact, by default, Illustrator automatically converts all of your artwork to the
02:09sRGB color space. Let me show you. I'll click Cancel out of here for a second.
02:13We'll come back to this in a minute, and I'll go to the File menu and choose
02:16Save for Web & Devices.
02:18Now, here's the way that I'll actually export GIF or JPEG versions of my
02:21artwork. If I come all the way here to the right side and I click on this
02:24button to open up the flyout menu, I'll see there is a setting here called
02:27Covert to sRGB.
02:29In fact, there may have already been times when you might notice that when you
02:32create some artwork inside of Illustrator, it looks really bright and rich and
02:35vibrant inside of Illustrator, but when you export that artwork to a GIF or
02:38JPEG file, the colors become muted or it doesn't look as rich as it did before.
02:43That's happening because Illustrator is converting to the sRGB workspace on
02:46export. I'll click Cancel and come back to the Color Settings that we were
02:49looking at before.
02:51So we already know that sRGB is probably the right workspace to work in when
02:54creating web graphics. But let's take a look at something over here called
02:57Color Management Policies. Right now for RGB, it's set to Preserve Embedded Profiles.
03:02Well, what does that mean?
03:04What that means is that if I take a photograph and I place it into my document
03:08inside of Illustrator, if that photograph already has a color management
03:11profile on it, for example, maybe that photograph is inside of the Adobe RGB
03:15workspace, Illustrator preserves that embedded profile, meaning that image
03:19stays in the much richer workspace of Adobe RGB and does not get converted to the
03:24sRGB workspace. So let's go back up here to where it says Settings for a moment.
03:29Notice that if I click on this right now, I have some other options. It has
03:31something called, North America Prepress 2 and also North America Web/Internet,
03:36Hmm...
03:37Well, if we choose North America Prepress 2, you can see that the RGB workspace
03:41now switches to Adobe RGB, that much richer environment. And that's because
03:45when I am printing, I want to be able to work with the most rich amount of
03:48colors as possible. It will also allow me to simulate spot colors in a much
03:52richer environment than otherwise.
03:54But let's take a look at what happens when I switch now from North America
03:56Prepress 2 to North America Web/ Internet. I mean, after all, we are doing web
04:00graphics here. When I choose that, it returns to the sRGB workspace, which is
04:04correct, but take a look over here. For RGB now it says, Convert to Working Space.
04:09Well, what that means that if I now take a photograph and I place it into
04:13Illustrator, Illustrator will automatically take that photograph and kind of
04:17dumb it down to fit within the sRGB color workspace. What this means is that
04:22I'll always see exactly the way my artwork is going to look like when it's
04:24displayed on the web when I am working on it inside of Illustrator.
04:27So to review, let's go back over here. The default setting is North American
04:31General Purpose 2. In that particular case, I am using sRGB. However, it is
04:36going to preserve embedded profiles. So it means I have the ability to see
04:40things inside of Illustrator which may not look that way when it's displayed on the web.
04:45If I know that I am always doing web graphics I may get better results by
04:48choosing the North America Web/Internet version. That means that now whenever
04:52I place artwork into Illustrator, it will always convert it to the working space,
04:56which is sRGB. Now, by the way where it says Profile Mismatches now,
05:00Illustrator says Ask When Opening. So when I do go ahead and place such a file,
05:04I'll get a dialog box and Illustrator will ask me if that's what I want to do.
05:07So, overall it's your call. Basically, Adobe created the General Purpose 2
05:11version so that anybody who is doing all different types of work, be it print,
05:15or web or anything else for that matter, has just a general color setting that
05:19works across all applications.
05:21However, if you're the kind of person who spends most of your time doing web work,
05:24you may want to switch to the North America Web/Internet version which
05:28will give you better results and make sure that you're always seeing the right
05:30things inside of Illustrator, same way that they will appear when that artwork
05:34is posted up onto the Internet.
05:35Want to know what I do? Well, I just work on so many different projects on a
05:39single day that I really can't afford to have my color management settings set to
05:43North America Web/Internet. I just do too much print stuff as well.
05:46Therefore, when I am creating images that I know are going to be used inside of
05:49my web design and I am working on those images inside of Photoshop,
05:52I'll actually assign the sRGB color profile to that particular image. This way
05:57I always know that I won't see any color shifts when I am working with them
06:00inside of Illustrator.
Collapse this transcript
3. Pixel-Based Web Graphics: Layout and Strategy
Comparing pixel dimension and resolution
00:00In the world of web graphics you hear the following term tossed around a lot.
00:0472 pixels per inch, right? I mean think about it. Anytime that you ever talk
00:09about screen resolution or any kind of web graphics, people always say 72 ppi.
00:14They may say 72 dpi, which is incorrect. That stands of Dots Per Inch, which
00:17only applies to printing. But ppi stands for Pixels Per Inch.
00:21Now as a web designer though, you really don't care at all about that
00:25resolution. In fact, you should just rid your mind of there's 72 pixels per inch altogether.
00:29Why is that? The reason is because pixel dimensions are far more important than
00:33the actual resolution itself. So the file that I have here on my screen, it's
00:37called resolutions.ai. It's something that will really kind of bring that point home.
00:41So what I have here on the screen itself on the upper left-hand part over here
00:45is a banner that I've created and the banner was created at 728x90. That's 728
00:50pixels wide by 90 pixels tall. When you're working with web graphics, that's
00:55the most important thing, how many wide by how many pixels tall.
00:59Let's take our monitor, for example.
01:01You may know that your monitor can be set to a variety of different
01:04resolutions. In fact, right over here I have three gray areas and each of them
01:08are indicating a different resolution. This is the size that a 1024x768 monitor
01:13would be. This one is 1440x900, which is wide-screen, and then this one is 1600x1200.
01:19Now the thing is that your monitor doesn't change in physical size when you
01:23change its resolution. All that's really happening is the pixels themselves get
01:26bigger or smaller, and in reality, many of today's monitors are much higher
01:31than 72 pixels per inch. For example, Apple displays exceed 120 pixels per inch
01:35and even the iPhone has a really high-resolution screen of 160 ppi.
01:40To better understand this concept, let's take a look at something else. I am
01:42going to go over here to my Layers panel. I am going to turn off the
01:44Resolutions layer. I am going to turn on this layer called Monitors. See here I
01:47have the exact same physical monitor, but this monitor is set to different
01:51resolutions, and as you can see, the same banner that I created at 728x90
01:56appears very large when my monitor is set to 800x600. It kind of fits really
02:01nicely in the middle of the screen at 1024x768, but that same monitor set to a
02:05much higher resolution of 1280x1024, my 728x90 pixel banner appears much
02:11smaller on the screen.
02:13So rather than thinking about resolution, when you're creating web graphics,
02:16the important thing is just to understand what the pixel dimensions are.
02:19Trust me, if you have the pixel dimensions right when you get started, everything
02:22else will just fall into place.
Collapse this transcript
Grid is good, grid is great
00:00When you are using Illustrator to design web graphics, you can either create
00:04entire web layouts or you can create individual pieces of art. For now, let's
00:08look at creating an entire web layout using Illustrator.
00:11When it comes to web design itself, structure is very important. Whether you
00:15plan on laying out your page using HTML tables or CSS, doing a little bit of
00:20planning in advance can really help you out. For example, when I sit down to
00:23create a web layout, what I will first do is sketch out some kind of an idea of
00:26what my page is going to look like, and what I end up creating is some type of
00:30a grid as you see here. When you break your page down into a grid in this way,
00:34it's really easy for you to focus on the individual parts of those pages.
00:37Not only is it easier to build your pages from scratch in this way, it's also easy
00:41for you to update individual parts of them without disturbing the rest of the page.
00:45Once I have created this rough type sketch what I will then do is build an
00:48actual file inside of Illustrator. For example, here is a grid that I have
00:52created inside of Illustrator based on the sketch that I showed you just
00:55before. Because Illustrator is object- based, it's really easy to generate such
00:59a layout, and more importantly I can now use this to easily re-purpose it for
01:03layouts using slices, which will be useful in a table-based HTML layout or to
01:07create divs working with CSS.
01:10Even more importantly if I am working with some kind of a Web Developer I could
01:13hand this off to them and they can build the site templates where that they need to.
01:17So now that you see the end result here, let me tell you how actually I went
01:19ahead and built this. I will come down to the Layers panel here and I will turn
01:23Off this layer called Slices. Going back to what we have already learned in
01:26this title, we know that anti-alias thinking cause certain problems. So when I
01:29create my boundaries here for this particular layout. I want to make sure that
01:32I don't use objects that have strokes on them. I am only going to use objects
01:36that have a fill.
01:37So I get started by coming over here and clicking on the Rectangle tool and I
01:41will draw my first rectangle. Just simply draw any shape, whatever it is that I
01:44want, and I will set my Stroke Color to None and I will set my Fill to Black.
01:49And here is where Illustrator makes things really easy. I am going to go ahead
01:52and select this particular rectangle. Where I have been trying to position up
01:55Ai, I am going to use numbers. This is one of the reasons why I always have the
01:58Transform panel always available to me here in the workspace that I have
02:02created. So I will start by doming in the right dimensions first for this
02:05particular object. For the Width, I will type-in 215 pixels. I will hit the Tab
02:10key and specify 150 for the Height.
02:12To position it precisely where it needs to go, I will go first over here to the
02:16Transform panel and make sure my Reference Point is set to the upper left-hand
02:19corner. I will set the coordinate for my X value to 0. Now here is the tricky
02:23part. Normally you might think that I would type-in 0 for the Y value as well.
02:27But Illustrator actually calculates its 0-0 point down here on the lower
02:31left-hand corner, not on the upper left- hand corner. Since my layout is set to
02:35800X600, I will align the top left-hand corner to the 600 mark. And that way my
02:40object fits exactly where I needed to go. To make it easier I will actually
02:44come down to the Layers panel and create a new layer and I will take this
02:46little dot on the far right edge of the layer and drag it into that new layer
02:50that I created.
02:51Now since I will be creating a whole much of these boxes and I don't really
02:53have any strokes, what I like to do is applying Opacity value. This way we are
02:57able to kind of see what happens to the rest of my page. So with the object
03:00still selected, I will change the Opacity of this object to say 70%.
03:04Now, let's go ahead and create the next shape. I will select the Rectangle tool
03:07again, but this time instead of drawing out of shape, I will simply click once
03:11on my artboard, in doing so a dialog box will come up asking me for the precise
03:15width and height for the shape I want to create.
03:17Since I have done my homework before and I have already sketched out my grid, I
03:20know the exact pixel dimensions I want to get for this. So I will type-in over
03:23here, 485 Wide by 100 High. It just saves me the time in first creating my
03:28shape and then having to adjust it later. All I need to do now is put it in the
03:31right position. I come over here to the X coordinate. I now know that this
03:35shape needs to go in around 215 for the X value. Again I know that because this
03:39particular object is 215 pixels wide, and again the upper left-hand corner
03:43needs to go to 600.
03:44I will back the Opacity of this one to around 60%. In doing so I now see a
03:50visual difference between the slices that I have created here and here.
03:52And before I go any further, I just want to stop here for a moment. You may
03:55have used Photoshop before to draw out guys in order to create slices. Well, in
04:00Illustrator there are many ways to do this. I find just working with the
04:02rectangles to be far more intuitive.
04:04Let me create a few more of these boxes. I will click again here to get
04:07100X100, and again, I will choose to position this all the way up here in the
04:11corner. I will change my Wide value to 600. And just to show you if I really
04:15don't want to go ahead and find that all the mess, I do know that the far right
04:18edge over here is 800. So if change my reference point to the upper right-hand
04:22corner, I can now change my X value to 800 and that again pops right into
04:26position where it needs to go. And I will dial back the Opacity of this one to
04:30maybe 50%, and I will continue to go to this process in order to get to the
04:34grid like I showed you here before. It's really simple, it's really easy to do,
04:38and most importantly once your grid is created everything else seems to fall into place.
Collapse this transcript
Working with multiple artboards
00:00One of the benefits of using Illustrator to create web graphics is that you can
00:04create entire webpage layouts or you can create individual graphics. In fact, I
00:09find the Illustrator excels at creating these individual web graphics and
00:12the new multiple artboards features that was added to Illustrator CS4 really brings this home.
00:16For example, maybe you have been asked to create an ad banner campaign. Chances
00:20are you will need to create a variety of different ad banner sizes and create a
00:24variety of art concepts as well. Rather than be forced to work with individual
00:28Illustrator files, you can create a single document that contains multiple
00:31artboards inside of it.
00:32For example, in this case right here I have four different ad banners all
00:36within a single document, all set up using multiple artboards. What's great
00:39about multiple artboards is that Illustrator has a certain thing called an
00:42Active Artboard.
00:44Notice that right now this artboard at the top has a black line while the other
00:47ones have gray borders. That indicates the top one right here. This one is set
00:51to 468x60. It's currently the Active Artboard. To make any other artboard an
00:56Active Artboard all you need to do is simply click anywhere within the boundary
00:59of that artboard. For example, by clicking here I have now made this the Active
01:02Artboard. And Illustrator uses the Active Artboard to perform certain
01:06functions. For example, if I now go to the File menu and I choose Save for Web
01:10& Devices. Say for example I exported JPG, or GIF of this banner. I will see
01:14that none of the other artwork appears in this window at all.
01:17Let me click Cancel, I will click on this banner right here and now again if I
01:20choose File > Save for Web & Devices because that one is now the active
01:24artboard. It appears here in this window as well.
01:27Let me show you how easy it is to create your own artboards. Say we need to
01:30create now a new artboard of like 250X60 pixels for example. I will select the
01:35Artboard tool from the toolbar over here and that immediately puts me into
01:39something called Artboard Edit Mode. Notice now that the Active Artboard has
01:43these dotted lines around it, it becomes selected. What I can do is simply come
01:47over here and click-and- drag to create a new artboard.
01:49When I release the mouse this becomes the active one and I could change the
01:52dimensions to make it precisely what I need it to be. I will go over here where
01:56it says Width, and we'll type-in 250, and I will change its height to be 100. I
02:00could position it just so, just where I want it and then just simply tap the
02:04Escape key on my keyboard to exit Artboard Edit Mode, and now I have created
02:07a new artboard.
02:08What I really love about working with artboards though is that I can simply go
02:12to the File menu at any time, choose Save As and for the Format here choose
02:18Adobe PDF. This will allow me to create a multi-page PDF file, meaning that each
02:22of these banners will get their own page and a single PDF file which I could
02:25then email to my client for review.
02:27For more detailed information about all the things that you can do with
02:30artboards and how they work, check out one of my other titles here on lynda.com
02:33called Adobe Illustrator CS4 Essential Training.
Collapse this transcript
4. Pixel-Based Web Graphics: Web Color
Understanding web-safe colors and hexadecimal
00:00Like just about any design medium web design has its own set of challenges. And
00:05one of those challenges is around color. In other words if you specify a color
00:08on your computer screen, how do you know that that color is going to display
00:11correctly on other computer screens?
00:13Think about that box of crayons that you had when you are growing up. Maybe
00:17you had their uber-pack, you had like 256 crayons. Wow! That's a lot of colors.
00:21But what if your friend only had 16 crayons in their box? If you created some
00:26kind of a graphic or some kind of picture or drawing with your crayons and you
00:29want your friend to create the exact same drawing, could they possibly define
00:33the exact same colors and draw with the colors that you have? They don't even
00:36have the colors that you do.
00:38Well, think less about color management and about the display themselves, but
00:41think about the graphic cards that are inside of other people's computers. Some
00:45graphics cards are far more capable and can draw many more colors than others can.
00:48In fact, if the computer is asked to draw a color and it can't create that
00:52particular color, it uses something called dithering to try to simulate that
00:55color. Sometimes those colors can look really bad.
00:58So as a designer sometimes what you try to do is just design or use a color
01:02that is kind of the lowest common denominator. You are sure that just about
01:05every computer screen out there can draw that color correctly. From a
01:09technology point of view computer graphics cards support something called VGA.
01:12This is pretty much the lowest common denominator today. VGA supports the
01:16drawing of 256 colors.
01:18Now across Mac OS and Windows, which are the most popular computer platforms
01:22out there, they differ in about 15 colors, which leaves you with about 241
01:26colors which we refer to as web-safe colors. We are sure that if you use one of
01:30those colors, you are guaranteed that that color will display correctly on
01:34those computer screens.
01:36Now inside of Illustrator you can access this library of 241 web-safe colors
01:40pretty easily. Let's switch over to Illustrator and I will show you what I mean.
01:43I will start by coming over to my Swatches panel. From the bottom left-hand
01:47corner I click on this icon that will allow me to load additional swatch
01:50libraries. By clicking there I can scroll to the bottom and see something
01:54called Web. All of the colors that appear inside of this panel right now are
01:58what we refer to as web-safe colors.
02:00So as I am creating my web design if I use colors only from this collection,
02:04I am pretty sure that they will display correctly on any device. As a designer
02:08you may find it somewhat difficult to see the colors or choose from them in
02:11this is kind of non-intuitive way.
02:12There is another library that exist inside of Illustrator called VisiBone2, and
02:16I will basically click down here and scroll down to where it says this item.
02:20While it doesn't look that intuitive at first blush, if I kind of resize the panel in a
02:25way that all the corners have white squares inside of them, I can see that they
02:29kind of appear now as a Color Wheel. In this way I could more intuitively
02:32choose a web-safe color.
02:34Now I will be honest with you, as a designer I don't appreciate being limited
02:37to only work within a certain range of colors. And nowadays most people do have
02:41monitors or graphics card that do exceed the limit of 256 colors. And what can
02:46really be helpful is as a designer knowing who your target market is.
02:50For example, if you are creating something for artwork that's going to be
02:53displayed or viewed mainly here in United States, most people do have modern
02:57hardware and they will be able to see more colors. So feel free to use whatever
03:00color you would like. However, if your web designs will be viewed from third
03:03world countries that may not have the latest in hardware, you may want to limit
03:07yourself to using a web-safe color.
03:08Let's take a look over here on the Color panel itself. Notice that I have the
03:12ability to choose RGB values. But on the left side over here there is a little
03:16square, a cube, that's indicating that the color that I have chosen right now is
03:19not a web-safe color. If I were to click on that cube, Illustrator will
03:23automatically find the closest web-safe color and it's kind of snap to that
03:26particular color.
03:28And you notice that the values here are set to 51, 51, and 51. However, when
03:32you are working with HTML, colors are specified using something called
03:35hexadecimal. It's basically a code that is contained of either numbers or
03:40letters that are six digits long. Basically the Red, Green and Blue values are
03:46each represented by two characters.
03:48To get the hexadecimal value of any color, simply go over here to the flyout
03:51menu and choose Web Safe RGB. Now you will notice that as you move these
03:55around, this particular case here, the hexadecimal number for this color would
03:58be 993333. Personally when I am creating web graphic inside of Illustrator,
04:04I try to use the hexadecimal values. That way I can easily copy and paste them
04:08into other applications, for example Flash or Dreamweaver.
04:11Finally, another way to specify colors is simply come down here to this little
04:14Swatch icon and double-click on it. That brings up the Color Picker. Here you
04:18can easily move your slider up and down on the Color slider right here, choose
04:22a color here and see immediately values that are CMYK, RGB or the hexadecimal
04:27value all in one location.
Collapse this transcript
Pulling colors from Kuler
00:00If you are looking for inspiration about what colors to use for your web
00:03graphics, you might look towards Kuler.
00:05If you are not familiar with Kuler already, it's an online community that Adobe
00:08created to allow designers to share inspiration around color, and with
00:12Illustrator CS4 you can access Kuler directly from the application.
00:16Go over to your Window menu, choose Extensions, and then choose Kuler. That
00:20brings up the Kuler panel. Immediately, you will see a list here of the highest
00:24rated colors that are now currently existing inside of the Kuler website. By
00:28clicking on this bar over here, you can browse through Most Popular colors and
00:33the Newest colors that are now added to Kuler as well.
00:35You can also perform specific searches for colors. For example, let's say you
00:39are doing some kind of piece of artwork around football. You could simply come
00:41over here to the Search area, type in football, and any color themes that are
00:46created inside of Kuler around that particular theme are returned to you in this list.
00:51Now, here's the great thing about working with colors that you find inside of
00:54Kuler. For example, let's say I really like this one here called Steelers. If I
00:57now want to use that inside of Illustrator, take a look at my Swatches panel,
01:01I could simply click on this button right down here called Add Selected Theme to
01:04Swatches. With one click of a button I now see that that particular collection
01:08of colors have been added to my Swatches panel inside of Illustrator.
01:12For even more functionality around Kuler you might want to check out the Kuler
01:15website, which is available at kuler. adobe.com. In fact, one of the things that
01:19I love most about Kuler is the ability to go to the Create Tab here and click
01:24on From an Image. This allows you pull out a palette of colors directly from
01:28any image that you upload.
01:30For more information and instruction about all the wonderful things that you
01:32can do inside of Kuler, check out one of my other titles here at lynda.com
01:36called Kuler Essential Training. Not only will you come up with some great
01:39colors to work with, you will also have a really fun time doing it.
Collapse this transcript
Using the Color Guide with web-safe colors
00:00Here's a great way to get color inspiration directly inside of Illustrator.
00:03By going to the Window menu, you can choose an option here called Color Guide.
00:07This brings up the Color Guide panel.
00:09The job of the Color Guide panel is basically to offer suggestions of color
00:13that work well with colors that you already choose.
00:15For example, I am going to go ahead to Swatches panel and click on some of
00:18these colors. Notice that as I click on each of the colors, the Color Guide
00:22updates suggesting colors that might work well with that color.
00:25The way that the Color Guide works is pretty simple. I can come here to this
00:28little pop-up menu here and choose what's called a Color Harmony. This is just
00:32a scientific way that defines relationships between colors. By choosing one of
00:36these, I am basically giving the Color Guide some kind of an idea of what types
00:39of colors I would like to see.
00:41What's important with these Harmony rules is to know that none of these are
00:44right or wrong. Just as a designer, you can just choose one of these and see how it works.
00:48For example, I will choose Complimentary 2. I will expand the panel just a
00:52little bit so I could see more of it. As I click on a color in the Swatches
00:55panel, Illustrator chooses a variety of Complimentary colors here, which are
01:00displayed also directly in the center here, and it offers Shades darker and
01:04Tints lighter of those colors as well.
01:06But as a web designer, you also know that sometimes you want to work within a
01:09web safe color palette. So while it's nice that the Color Guide is offering
01:13suggestions of lots of colors, it's very doubtful that any of these colors are
01:16web safe colors.
01:18You can change that pretty easily by coming down to this icon here on the lower
01:20left hand corner. It allows us to limit the color groups to colors that are in
01:24a specific swatch library. Let me click over here and choose Web. Now the only
01:29colors that can be suggested inside of the Color Guide are going to be web safe colors.
01:33So no matter what color I click on over here, all the suggestions that are
01:36offered by the Color Guide will always be web safe colors. I find this to be a
01:40great way, not only to get inspiration for colors, but also to make sure that
01:43the colors that I do choose will always work great inside of my web graphics.
Collapse this transcript
Converting art to web-safe or limited colors
00:00So it's obvious that Illustrator has plenty of tools to allow us to become
00:04inspired about color or to even define color, all within the web safe color space.
00:08However, one of the true benefits of using Illustrator is the fact that you can
00:12develop content, not only for web design, but for all types of design, for any
00:15kind of treatment, and therefore, it could be quite often that you are working
00:18with graphics that were first created for print and that you are now
00:21repurposing for web design.
00:23Take this banner for example. I may have pulled in pieces of artwork from other
00:26existing artwork that was created for print; maybe this little symbol for
00:29example. If I click on this little blue color right here, you can see that
00:32right now it is not a web safe color. In fact, I doubt that any of these colors
00:36are web safe colors.
00:37Well, Illustrator has some great functionality for taking existing colors and
00:41converting them to web safe colors as well.
00:42Let me take my Regular Selection tool, and I will select this group right here.
00:46What I am going to use is Illustrator's Live Color feature to adjust these
00:49colors. Now, I could do that either by coming to this little icon in the
00:52Control panel right here called Recolor Artwork, or alternatively, I can go to
00:55the Edit menu, choose Edit Colors, and then choose Recolor Artwork here as well.
01:00Let me bring this dialog box down about over here. It says Recolor Artwork
01:04right now. Basically, what Illustrator is saying is I am going to take these
01:07colors and remap them to these colors. By default, Illustrator automatically
01:11remaps each color to itself. But I want to make sure that these colors get
01:14converted to web safe colors, and I want those web safe colors to be as close
01:18as possible to these original colors.
01:20Well, let me go over here to the Edit menu. You can see here on our Color Wheel
01:24that here are where my colors exist, but this particular Color Wheel right now
01:28represents all colors in a visual spectrum within the RGB workspace. What I can
01:32do is I can click on this icon right here, which is the same icon that you may
01:35have seen inside of the Color Guide panel, to limit the Color Wheel to only a
01:38certain palette of colors.
01:40I will click, scroll down to the bottom here and choose Web, and now you will
01:44see that this particular Color Wheel that looked all nice and smooth before is
01:47broken into segments which are all only web safe colors.
01:51By clicking OK I have now simply converted the colors that were there before to
01:55web safe colors. It's that simple.
Collapse this transcript
5. Pixel-Based Web Graphics: Web Slicing
Understanding slicing
00:00We have spoken about how important the grid is when creating a web layout.
00:04One of the benefits of creating these grids is how it works well with slicing.
00:07For example, when you look at this particular web design, you may just see a
00:10simple page. However in my Layers panel, I am going to turn on a layer here
00:14called Slices; this is the grid that I kind of worked on before. You notice
00:17that how well everything kind of fits within the defined areas that I created.
00:21By splitting up a page into individual elements in this way, I can easily focus
00:25on individual parts of those graphics. More importantly, when it comes to
00:28actually building a website, not every part of the page is built in the same way.
00:32For example, graphics get different consideration than text does. Maybe I want
00:37certain interactivity. For example, maybe I want to have rollovers, where these
00:41particular words light up as I move my mouse over them.
00:43Alternatively, I may want to define certain areas where video might play or
00:47maybe create some Flash animation. Finally, there may be some parts in my page
00:51that are dynamic. For example, maybe I am leaving an area here on the bottom of
00:54my page though I have rotating ad banners.
00:57The concept of slicing really came out of HTML or the way that tables are setup
01:01inside of HTML. If you think about each of the sections that appear on this
01:04particular layout, you might think of them as a table and each of these are
01:07individual cells within that table.
01:09Web slicing is the act of taking an overall piece of artwork and chopping it up
01:13into pieces. Now traditionally, those pieces were turned into an HTML table,
01:18but nowadays many web developers also use this to create divs or divisions of
01:22areas on a page that are used in CSS layouts.
01:26No matter what your final output is, when you think about your entire web
01:29design, be it overall pages or even individual pieces of art, working with
01:33slices can help you get it done faster and better.
Collapse this transcript
Using manual slicing
00:00So we understand the importance of creating slices when working with web
00:04layouts inside of Illustrator. So let's see how we actually create these
00:07slices. In this document, I will turn on this layer where I have already
00:10created these areas or these regions, which are going to become slices. And in
00:14reality there are two ways to create slices inside of Illustrator.
00:17In this particular video, we will talk about creating them in a manual fashion.
00:20I will start by selecting the Slice tool here in the toolbar, then I will come
00:24directly to my document and I will click -and-drag to create a slice around the
00:27region that I have defined. When I release the mouse, the slice is created.
00:31Using the Slice tool I can continue to create additional slices as well.
00:35However, I will tell you that as I am doing this right now, there is really
00:38nothing preventing me from creating a slice that's not the exact same size as
00:41the rectangle that I have created before. For example, I will purposely clicked
00:45right about over here and click to drag this. They obviously don't line up here.
00:49Now the Slice tool is used specifically for creating slices, not for modifying
00:53them. Once I have created them I have to use a different tool, which is the
00:57Slice Select tool. I will come back to the toolbar here, click and hold my
01:01mouse button on top of the Slice tool and I will see the Slice Select tool. Now
01:05I can come back, click on this particular slice to select it, and you will
01:08notice a double arrow appears as I move over the boundary of that slice.
01:11By clicking and dragging I can now simply resize the slice to match as needed.
01:15Let's take a look at what's really happening here behind the scenes. As I
01:19create a slice, Illustrator draws a rectangle and refers to it as a slice. If I
01:24look over here at the layer that I am in right now, the Slices layer, I see
01:27that I have just now created these objects called Slices. These are the paths
01:31that I have defined before when I first defined my grid, but the slices that I
01:34have just drawn are brand new objects.
01:36In reality, I can delete these simply by clicking on them and dragging them on
01:39to the Trashcan. To make it somewhat easier to draw your slices, you can simply
01:44go ahead and drag out Guides. In doing so when you go ahead and you create your
01:48slices, I will go back here to the Slice tool, you will notice that when I
01:51click and drag my cursor will snap to that particular guide as well.
01:55In reality though creating slice in this way is really a manual process. And
02:00because of the issues that we discussed in the past about how Illustrator uses
02:03anti-aliasing to define the boundaries of pixels, it can be somewhat
02:06frustrating to get your slices to line up just so. But for quickly creating a
02:10slice here or there working in this particular manual way with the Slice tool
02:14is a great way to create your slices.
Collapse this transcript
Using object-based slicing
00:00Admittedly, working with the Slice tool can be somewhat of a frustrating
00:03experience. Besides struggling to get all of your slices to match up precisely
00:08and be just the right size, the slices that you create are really additional
00:11objects, which means if you ever really want to go back and change some of your
00:14grid settings, you then have to return to the Slice Select tool and readjust
00:18all of your slices. And besides in general, I always believe that the computer
00:22is there to kind of help you as a designer, not make life more difficult for you.
00:25That's why when it comes to slices inside of Illustrator I like to use
00:28something called Object-Based Slicing. An Object-Based Slice is really a simple
00:32concept. It's simply an attribute that's applied to an existing path. For
00:36example, on this document we already created a grid of objects. I can see that
00:40by going to my Slices layer and turning that on. In fact, what I will do is
00:43turn off all the other layers right now. By the way you can do that by just
00:46clicking and dragging straight down across all those particular layers.
00:50And remember that when I created this particular grid I was really careful
00:52about using the Transform panel to perfectly size and align each of these
00:56shapes as well. And none of them have those strokes so when it comes to the
00:59anti-aliasing part of the Illustrator with web graphics everything really fits
01:03perfectly with each other.
01:03So rather than try to duplicate all that perfection using the Slice tool, I
01:07will simply tell Illustrator, hey, all those objects that I created, go ahead
01:11and turn them into slices for me. So I will press Command+A on my keyboard or
01:15Ctrl+A if you are on a PC to go ahead and select all of my objects.
01:19Next, I will go over to the Object menu and I will choose Slice and then I will
01:23choose Make. In doing so all my objects now automatically turn into slices. But
01:28sure it's a lot faster than working with a Slice tool and drawing out all those
01:31other shapes.
01:32But more importantly these slices are now attributes of these rectangles
01:36themselves. Which means that at any time if I want to make a change to my grid
01:39layout, all I need to do is to select that rectangle and modify its setting.
01:43Let me go ahead and deselect everything right there and click on just this one shape.
01:47Notice the Transform panel says now the Width is 100 pixels and the Height is
01:50100 pixels. I will set my reference point to the top in the middle. And just as
01:54an example, I will go ahead and change the height to 150 pixels instead of 100.
01:58Notice that the slice automatically grows and updates.
02:01So what's great about working with Object-Based Slices is that once you go
02:03ahead and you create your grid and then you turn them into slices. As you
02:07modify your grid the slices just seem to update by themselves. What does that
02:10mean for you? Well, once you create your slices you never have to back and
02:14modify them anymore. So you set your slices up once and then you take the rest
02:18of your time and you focus purely on your design.
02:21At any time if you decide that you want to remove a slice from an object,
02:24simply go back to the Object menu with that object selected, choose Slice and
02:28then choose Release, and that object will no longer be a slice.
Collapse this transcript
Comparing user slices and auto slices
00:00I would like to take a moment to take a closer look at slices inside of
00:03Illustrator. You may have noticed that when you are creating slices, it appears
00:07as if there is two types of slices. To illustrate this, I am actually going
00:11to create a slice in this document, I will use the Regular Slice tool and I
00:14click and drag to create a slice. Notice that when I release the mouse, I see
00:18that I have created a slice here but take a look at some of the numbers that were created.
00:22See this one over called 1, this slice is number 2, this slice is number 3, 4,
00:27so and so forth. But take a look at the actual color of the box here. The
00:32number is 3 is in a bright colored grid, whereas these are tilted back. They
00:36are grayed out somewhat.
00:37Well if you understand really what a slice is; a slice is simply a cell within
00:42an overall table and that table fills the entire art-board that I have set
00:45right now inside of Illustrator. So Illustrator doesn't just create a table of
00:49just one region right here, it actually uses the entire art-board as one large
00:53table. Since I have created a slice in just this region over here, Illustrator
00:57automatically filled in all the other regions to basically fill-out the rest of that table.
01:01When working inside of Illustrator, when you specifically create a slice, that
01:05slice has its very dark color that appears here. The slices that Illustrator
01:09creates are the ones that are grayed out. We refer to these as User Slices; the
01:14ones that you have created and then Auto Slices; those are the ones that
01:18Illustrator automatically creates to fill-out the rest of the grid.
01:20You will notice that as you create and draw more slices, the ones that you
01:24create will always appear in the darker color and the ones that Illustrator
01:27creates, the Auto Slices always appear in the lighter color.
01:30For some web workflows, it really doesn't make a difference if slices are User
01:33Slices or Auto Slices. At the end of the day, they are just slices. However,
01:37there are some certain workflows where it's important to create these User
01:40Slices because we will be able to take advantage of that. For example, when we
01:42are exporting all of our artwork, Illustrator does give us the option to say
01:47let's export only the User Slices and not the Auto Slices. As we explore more
01:51usage for slices inside of Illustrator, we will find more and more uses for
01:55these user slices.
Collapse this transcript
Applying settings to slices
00:00So we know how to create slices inside of Illustrator. We know that there is
00:04two types of slices. There are User and Auto Slices and that we can define
00:08slices either manually or using the object based method. But we haven't spoken
00:12about yet though is what to do with those slices once we have created them. So
00:16let's take a look at how we adjust the settings for each of our slices.
00:19In this document, I will start off by creating some object-based slices. I go
00:23to my Layers panel. Let's go ahead and show the Slices layer, again, those are
00:27the objects that I created into the grid and I will turn off all different
00:30layers right now. I will press Command+ A or Ctrl+A on Windows, to go ahead and
00:34select all my objects, then I will go to the Object menu, I will choose Slice
00:38and then Make to turn them all into slices.
00:41Let me deselect these objects right now. Let's go ahead and choose the settings
00:44from maybe this slice right here. I will click on it to select it and I go to
00:48the Object menu, I will choose Slice and then I will choose Slice Options. This
00:53brings up the Slice Options dialog box.
00:56Now the first thing you notice right here is where it says Slice Type. In
00:59Illustrator, you actually have the ability to choose that a slice itself is set
01:03to No Image, Image or HTML Text. So let's take a look at what each of those mean.
01:09No Image simply means that particular area of that particular cell has no
01:13artwork exported whatsoever. If I choose Image, which is really the standard
01:17for most slices, it simply means that whole area that's encompassed within that
01:22region gets turned into an image and gets exported when I save my web graphic.
01:27Finally, there is an option here called HTML Text, this option is only
01:30available when you actually select a text object and turn that into a slice.
01:34With the HTML Text option chosen, when your table gets exported, that text
01:39actually is converted to live HTML text within that cell.
01:43In my opinion, though, I don't find that as useful because usually the live
01:46text that I am adding, comes later on a stage, for example, when I am inside of
01:49a Dreamweaver but for now, I will leave this slice set to Image.
01:53Next, I can choose to name my slice. When I export my artwork from Illustrator,
01:58as you can see here in this particular table, I have seven slices. That means
02:02that I will end up with an HTML file with a table inside of it and that table
02:06will reference seven different images. Each of those images, obviously, has a
02:10name. Now by default, Illustrator just adds its own name using the slice number
02:15but if I wanted to, I can actually go and give the slices specific name. As we
02:19learn about more ways to use slices inside of Illustrator, we will see where
02:22that comes into play.
02:23Now that brings us to probably one of the most exciting parts about slices
02:26themselves; URL because the slice really, as a separate image, does have the
02:31ability to contain a link, meaning that I can click on that particular region
02:35and be taken to a different location or different web page, altogether.
02:38For example, if I want that a user goes to my web page and clicks anywhere in
02:42this region, and gets directed to another area, I can simply type in a URL, for
02:46example, I will type in http://www. lynda.com. I could also choose a target,
02:55meaning _blank, _self, _parent or _top, and if I am using different frames or
02:59if I want to be able to have this particular link open up in the new window, I
03:03can add that as well.
03:04I can also specify a message and some Alt text. Alt text is actually very
03:09important if you are working with website that should be accessible. For
03:11example, people who are visually impaired, actually have the artwork that
03:15appears inside of website, read to them. Whatever you specify in the Alt text,
03:19it gets read to those people using the screen readers.
03:21Finally you have the option for a Background. Currently, the background is set
03:25to None but by clicking on this button here, I can actually choose any of the
03:28color that I want Illustrator a background for that slice.
03:31In reality, if the slice is an image, this really is not as useful because the
03:34image itself covers up the background. However, if elements inside of the slice
03:39are transparent, for example, if I save it out as a transparent GIF file or if
03:44I am working with a HTML Text slice, then the background does come into play.
03:48Let me click Cancel here, and I will you there is one another important way
03:52that I work with slices inside of Illustrator. Sometimes, I take the grid, as
03:55you see it right here, and I use this as a basis for how I build my pages
03:59inside of Dreamweaver. If all I am looking to do is to build that a HTML base
04:03table, this is all that I need and I might be working with another designer who
04:07is working on the actual artwork that's going to go into this slices but using
04:10the Slice Option dialog box is not the only way to change the settings for each
04:14of the slices. I will click Cancel here.
04:16Now last you choose the option here under the File menu called Save for Web &
04:20Devices and doing so this brings up this particular feature and right over you
04:24will see there is slice select tool. I can actually double click in any of
04:28these slices and bring up that same Slice Options dialog box. In fact, when I
04:32am working inside of Illustrator and I want to change a setting for a lot of
04:35different slices in my layout, I find it much easier to do that right here on
04:38the Save for Web & Devices dialog box. I will make my settings here, click OK,
04:42double-click on the next slice, choose its settings, so on and so forth.
04:46When I am done, I will go ahead and click on Done button and returns me back to
04:49my layout without exporting any graphics. Now that we know how to apply
04:53settings to our slices, we can explore many different ways to take advantage of
04:56all these features.
Collapse this transcript
Defining an image map
00:00As we have learned, we can apply certain settings to slices inside of
00:04Illustrator. One of those settings, the ability to assign a URL to that slice,
00:08is probably one of the most important ones. By assigning URL to a slice, you
00:12are basically enabling a user to click on a particular area of your page and be
00:16directed to a certain location.
00:18However, there may be times when you want to be able to click on a specific
00:21area within a slice. In the world of pixel based web graphics, the ability to
00:25click on a certain area or a hotspot region of a graphic is referred to as
00:29an image map.
00:30Basically, when Illustrator generates the HTML table with all the slices inside
00:34of it, it also includes the file that has coordinates and those coordinates
00:39instruct the web browser so that when a user clicks on a certain area of a
00:42slice or an image, the user is directed towards that location. Let's see how we
00:46do this inside of Illustrator.
00:47For example, maybe I want make it so that when I click just on the Groundswell
00:51logo itself; I am directed to their homepage. So what I will do is I will
00:54assign an image map to that location. Now it's important to know that, inside
00:58of Illustrator, you cannot assign an image map to a group. You can only assign
01:02to a single object. So what I will do is I will try to find the largest object
01:06in this group which is this background right here. The easiest way to do that
01:09is to use a Direct Selection tool inside of Illustrator and just click on one
01:13of the largest objects that you have there.
01:14By looking at the Appearance panel, I see I just have a single path targeted.
01:18Now I will open up the Attributes panel and for image map, I will choose
01:22Polygon. Now in reality, there are two types of image map that exist inside of
01:26Illustrator. If your object is rectangular in shape, you can choose the
01:29Rectangle option, however, for any other shapes, choose the Polygon option.
01:34For example, in this graphic right here, if I would choose Rectangle, even if I
01:38were to click on let's say this area right here, that would still be treated as
01:41a hotspot. By choosing Polygon, I am ensuring that the web browser will only
01:45allow the users to click on that particular region inside the boundaries of the shape.
01:49Once I have defined that area as an image map, I will now specify URL for where
01:53I want the user to go. I will type in an address and I will use the full
01:56address here, http://www.groundswell. com and you notice there is a little arrow
02:05here on the right side. When I click on that, all the other URLs that I have
02:09specified already appear on this list. That way I don't have to keep typing
02:12them each one time I want to add another image map.
02:14Let's apply one more, I come over here to this side of the graphic and I will,
02:19just again, use the Direct Selection tool to click on the outline of this
02:22Hawaii Surf logo. Once again, I will specify Polygon as my image map and this
02:27time here, I will choose lynda.com.
02:30Now let's see if these image maps work. To do so, I will use the Save for Web &
02:34Devices feature. I go to the File menu, I will choose Save for Web & Devices
02:39and one of the great things about Save for Web & Devices is that not only I can
02:42see my artwork here inside of the window, but I can also come on this button
02:46over here on the bottom where it says Preview in Default Browser. By click on
02:50that option right now, we will actually load that graphic into my web browser.
02:53Now for this particular example, I did not create any slices, so we got
02:57exported with my entire web layout as one overall JPEG image. But as I master
03:02with this logo here, you will see that my cursor changes to a hand, and if you
03:05look at the bottom of my screen, it says I will be directed to groundswell.com.
03:09Likewise, if I move my cursor over this Hawaii Surf logo, clicking on it will
03:13direct me to lynda.com web page.
03:16I close my browser window, click on the Cancel button here inside of Save for
03:20Web & Devices and return back to my document. What's great about the image map
03:23feature is that it really, sits along both sides of both the pixel based and
03:28the vector-based part of web design. Meaning that if I export my graphic as a
03:31JPEG or a GIF file, my image map will work. Likewise, if I export my file as a
03:36SWF file, Illustrator writes the necessary ActionScript information into that
03:40SWF file so that again that piece of artwork now turns into a button.
Collapse this transcript
Working with slices
00:00For the most part, we have been talking about slices as it applies to an
00:04overall webpage, meaning you design an entire webpage layout and now you want
00:08to split that up into chunks or pieces, which in reality, when you think about
00:12traditional web design or where most designers come from, for example, using
00:15products like Photoshop or Fireworks, they actually create entire webpage
00:20layouts and then slice them up in that way.
00:22However, one of the real benefits of using Illustrator is that it's very easy
00:25to create web graphics that are individual objects, maybe they are offered as
00:30parts of a page or maybe it is creating either banners or little elements that
00:33belong within an overall page. The challenge in that case is how do you export
00:38those easily. Now one of the things that we have explored to this particular
00:41point is something called multiple artboards.
00:43Yes, Illustrator does have the ability to contain multiple artboards and each
00:48of those artboards can also be of different sizes. So in theory, I could go
00:52ahead and set up a document. Let's say I need a three of these size web banners
00:56and three of these size web banners, I could, in theory, create a document that
01:00has six artboards, three of this size and three of this size.
01:03However, because of the nature of the way that artboards work inside of
01:06Illustrator, I can only have one artboard that is the active artboard at any
01:10one time. That means if I want to now export each of the banners that we need
01:13to click on one of them, go to the Export method, then go ahead and click on
01:17another one, export that one, so on and so forth, one after the other.
01:21Now maybe an example here where I only have six banners in total that may not
01:25seem like such a large task. However, there might be times where you need to
01:28generate maybe tens or hundreds of different types of web graphics and I think
01:32it's where these types of examples where you will derive the most benefit from
01:35working with slices inside of Illustrator.
01:37So let's take a look at what I have done here. I am going to go with my Layers
01:40panel and just hide Layer 1. What I have created here is simply six different
01:44objects and I used the same method that I did before when I created my grid. I
01:48just created rectangles. Remember the rectangles had no strokes on them so that
01:52in short the anti-aliasing would always be perfect and snap to a grid. I then
01:56took those objects and turned them into object-based slices.
02:00In fact, if I go here and I click on one of these objects, you will see that
02:02it's a regular black filled object. But what I have done for this particular
02:06object here and in fact all the objects on this layer is that you will notice
02:10that over here on the Slices layer, I set the Opacity level for the entire
02:13layer to 0. By clicking on this little target circle right here, I see that the
02:17Opacity for that layer is set to 0.
02:19So all the objects on that layer exist and they are being used to define
02:23slices, but they are invisible. Let me zoom in really closer, so you can see
02:27that all these objects also snap perfectly to the grid. And here is the most
02:30important part of this. Let me zoom out just a little bit here so you can see
02:32the objects that I have created. Notice that I have only defined these six
02:36slices, so these are user slices, slice number 3, 5, 9, 10, 13 and 14, the
02:43others are auto slices.
02:45As we will soon see, when I am using the Save for Web & Devices feature, I have
02:49the ability to tell Illustrator, you know what, only export the user slices in
02:53my document but don't export any of the auto slices. So really these all fall
02:57by the wayside and what I am left with is just the slices that I need.
03:01More importantly, I will be able to export all of my slices or more accurately
03:06in this particular example, all of my web banners with one action. Let's see
03:10how that works. Let me turn my Layer 1 back on. I will also turn on my Pixel
03:14Preview so that I can see exactly what my artwork looks like when it gets
03:17rasterized. I can zoom it over here to make sure that everything looks okay. In
03:22this example, I have actually made sure that my stroke is aligned to the inside
03:25of this rounded rectangle. That way I don't get any unnecessary artifacts in
03:29the anti-aliasing.
03:30Now I will go to the File menu here and I will choose Save for Web & Devices.
03:34Now I would like to show you one of the things that I love best about using
03:37this method. I use my Regular Slice Select tool here to double-click on this
03:41first banner. Notice that I have already given it a name. It's called gs, for
03:45Groundswell, large_melbourne.
03:47I will Cancel, let me click on this one here and see I have named this one as
03:51well. In fact, I have named all of these slices. If I were using multiple
03:55artboards to do this exact same method, I would have to name in my artwork each
03:58time that I export each individual banner.
04:01Here, every time I update my artwork, I simply need to do one Export function;
04:05all the six different banners already have the names that I want for them and
04:09to get exported with just one click of a mouse. Let me show you how that's done.
04:13I will click Cancel here and I will click on the Save button. For Format, I
04:17want to make sure that I am only exporting the images; I don't need any HTML,
04:20because the table is meaningless to me. I just want the images themselves or
04:23the banners, in this case. I will put them on the Desktop of my computer here
04:27and rather than export all slices, I will choose to only export all user slices.
04:32Now when I click Save, take a look at this. Let's go to my Desktop here for a
04:36second and you will see that in my Images folder, it now has all the banners
04:40that I have created. So when you apply all the knowledge that we have learned
04:43when working with slices, we see that multiple artboards may be great, but for
04:47many things inside of Illustrator, slices really has no match at all.
04:51So if you are creating individual web graphics, I do hope that you take a
04:54closer look at slices and how they might help you in your work.
Collapse this transcript
6. Pixel-Based Web Graphics: Design Techniques
Making text look good on the web
00:00It can be easy to forget sometimes, but really as a designer our biggest job
00:04is to make sure that we deliver our message. That being the case, whenever we
00:07create some kind of text and we put that up onto the web, we need to make sure
00:11that text is readable. Now, you may notice that I am here inside of Photoshop
00:14because I want to show you a few settings that Photoshop has for making text
00:17look really great for the web.
00:18With my Type tool selected, I will go ahead and I will select this text and you
00:22will see that in the Tool Options bar towards the top, I have several options
00:25for how that text should be anti- aliased. I can either turn off the
00:28Anti-Aliasing altogether or I can go ahead and choose something called Sharp,
00:33Crisp, Strong or Smooth.
00:36Depending on the typeface that I choose and what size I may producing it at,
00:40I may choose between some of these different settings in order to get the best
00:43looking type for the web. Now unfortunately, Illustrator does not have any of
00:47these settings at all. In fact, if you remember, Illustrator is always
00:50optimized for print. So type really is never anti-aliased at all.
00:53However, when you are creating graphics for the web, it is and we do need to
00:56care about how that type looks like when it is anti-aliased on the web.
00:59So let's take a look at Illustrator and see what options we do have.
01:02I am going to use my Regular Selection tool here to start working with some of
01:06this text that's right here. Let me zoom in a little bit so we can see the text
01:08a little bit better. Now I have my Pixel Preview turned on right now, so that's
01:12why I am seeing an anti- aliased version of my text.
01:14While we don't have the five wonderful settings that Photoshop has for
01:18anti-aliasing text, we do have three different settings that we can use. What I'll
01:21show you is those three different settings side by side and then again on
01:25the individual basis, depending on the typeface and the size that you said your
01:29type, you will choose whichever works best for you.
01:32Let me select these two text objects here on the top. I am going to go to the
01:35Effect menu, I will choose Rasterize and I will go over here on the bottom
01:39where it says Anti-aliasing and make sure it's set to None. In doing so when I
01:43click OK, this text will not get anti-aliased at all.
01:46Next, I will click on these two objects right here. I will go back to the
01:49Effect menu, choose Rasterize once again. But this time, instead of leaving
01:54Anti-aliasing set to None, I will choose an option here called Art Optimized
01:58or Supersampling.
01:59If I go ahead and I choose that one and click OK, Illustrator will use that
02:02method of anti-aliasing for that particular text. Finally, I come down to these
02:06last two text objects, select those, once again choose to apply the Rasterize
02:11effect. But this time, instead of choosing Art Optimized, I will choose
02:15Type Optimized or Hinted.
02:17Now I will click OK and we could easily compare how these look like directly on
02:21the screen. One thing that's interesting to note about, the bottom option where
02:25I chose the Type Optimized version of anti-aliasing is exactly the same as
02:29setting your type to Smooth inside of Photoshop.
02:32The Art Optimized version, which is the middle that you see right here, is the
02:36same as setting as your anti-aliasing in Photoshop to the Strong setting. And then
02:39finally of course, on top, this is the same as setting your text to None as well.
02:44So while Photoshop does have five settings for anti-aliasing, Illustrator does
02:48have three of those. So when you want your text to look just right on the web,
02:52as you should, try experimenting with these three different methods to get the best results.
Collapse this transcript
Adding reflections
00:00One of the latest design trends these days is adding reflections to your
00:03artwork. It's almost like the soft drop shadows of yesterday or the gradients
00:08before that, so on and so forth. Every generation seems to have its own little
00:11design thingy that everyone kind of clamps on to and I think this is like one of them.
00:16So in reality, when you are working inside of Illustrator, it's really easy to
00:19create reflections, and we are going to do so through the Appearance panel.
00:23The benefit of that is that you can save it as a Graphic Styles, so that applying
00:26reflections moving forward would just be a single click. You can't get better
00:30than that, let's get started.
00:31I am going to go ahead and select this text right over here called Surfing.
00:35I have converted with the outlines in this case, but in reality you don't need to
00:37work with outlines; you could use regular live text as well. I want to be
00:41a little bit fancy here and turn the I into one of the body suits that we are
00:44using. I come over to the Appearance panel and I will see that I now have a
00:47Group that's targeted.
00:48So the first thing that I want to do is create a secondary fill. Inside of
00:51Illustrator, we have the ability to add fills not only to objects but to groups
00:55as well. To do that, I will come down to the bottom over here and click on this
00:59button, Add New Fill. By default, Illustrator sets that fill to black, but I
01:03can easily change it by coming here and changing it back to white.
01:06Now it doesn't look like anything has happened, but wait, let's create the
01:09reflection right now. With this fill still highlighted here inside of the
01:12Appearance panel, come down to where it says fx and let's add a new effect. I
01:16am going to choose Distort & Transform and then I will choose Transform.
01:20Let me move the dialog box over here so that we can better see what we are
01:22looking at. I will turn on the Preview and then I will click on this button
01:26right here, Reflect Y, that just simply flips that fill upside down. I will
01:30also change my Origin Point to be from the bottom part of the object.
01:34By clicking OK, you can see that I have now created that reflected area for
01:37that particular artwork, but it's still missing a little bit of that reality. I
01:41want my reflection to kind of fade out. To do so, I will actually use a
01:45gradient instead of a regular solid fill, I will go over here to the Window
01:48menu and I will choose Gradient to open up the Gradient panel.
01:51By clicking over here, I can actually apply that regular black and white
01:54gradient. The first thing I will do is I will actually rotate the gradient. So
01:57let me change it to 90 degrees. Now I have it going from white to black.
02:01Now I don't want to go to black at all, I wanted to go from white to
02:04transparence that it fades out. To do so, I will actually just click on the
02:07black color stuff right here and change the Opacity value to 0. I will also
02:12double-click on the black color here as well and change it to white.
02:15Now, by adjusting the sliders themselves, I can adjust exactly how that
02:19gradient looks. I will close the Gradient panel and now I have created my
02:22reflection. In order to now save this reflection as a Graphic Styles so that I
02:26can easily apply it to other objects, I will click on the object itself and in
02:30the Graphic Styles panel, click on this button here called New Graphic Style.
02:34I will double-click on it and call it reflection and that's it, instant reflections.
Collapse this transcript
Applying rounded corners
00:00It seems as if one of the prerequisites of creating Web 2.0 graphics is having
00:05rounded corners. In fact, you see rounded corner artwork all over the Web these days,
00:09and when you are using Illustrator, it's really easy to apply to that
00:12effect. Rounded corners are added as a live effect inside of Illustrator.
00:15That means that you can apply it to a shape, but then always go back and modify or
00:18adjust it. Let's take a look.
00:20I'll start by click on this rectangle right here. I just want to point out that
00:24for this rectangle, if I go over here to towards and click on the Stroke
00:27Setting. You can see that I have aligned the stroke to the inside of the path.
00:30That will prevent any anti-aliasing issues for that shape. I'll click over here
00:34on the path to target the entire path, and then from the Effects menu down here
00:37on the bottom, I'll choose Stylize, and then Round Corners.
00:41I'll specify a radius of around 10 pixels. I'll click on the Preview button to
00:44see what that looks like, and then I'll click OK. The great thing about working
00:47with Live Effects is that if later on my client says, "You know something? The
00:51corners are just too rounded for me." I can easily go back anytime and change
00:54it. I'll click on the object right here, simply click once on the word Round
00:58Corners here, adjust it to maybe around 6 pixels. Let's look at the Preview,
01:02yeah. That looks great. Click OK, and I could easily update that at anytime.
Collapse this transcript
Creating dynamic text buttons
00:00When you are creating web graphics inside of Illustrator, I always say it's
00:03easy to get caught up in all the aspects of publishing your web graphics, and
00:06sometimes you forget about the power that Illustrator has. Let's take a moment
00:10to look at one of the most powerful features inside of Illustrator,
00:13the Appearance panel, and see how that might help us create our web graphics.
00:16For example, let's create something called a dynamic text button. Maybe you want to
00:20create some navigation inside of our website. So we want to create a word that
00:24has some kind of a button appearance.
00:26Now maybe the button is exactly the same size as the text, then we want to make
00:29sure that each time that I create a new button, that the button is resized to
00:32fit just the text inside of it. It's really easy to do this using some of the
00:36effects that are available through the Appearance panel.
00:38I'll get started by adding some text to my page. Let me take my Text tool over
00:42here, click on my artboard and let's type in the word Apparel. I'll change the
00:47Point Size here to 18 points. I use Myriad Pro. Let's go ahead and choose Bold
00:51for now. And again, if you don't have the exact same typeface, that's fine. Be
00:54creative. I am using a little bit over here so we can see it somewhat better.
00:59Center it on my screen here. And the first thing I want to do is create the
01:03actual button itself.
01:04But here's a really cool thing, instead of creating a separate shape I am going
01:08to create the button using the fill of the object itself. But I am going to
01:12create a new fill for this object, and then I am going to do something special
01:15to that fill. Let's take a look, I am going to go over to the Appearance panel,
01:18I see that I have my type object targeted right here, and I'll come down here
01:21to this button to choose, Add New Fill.
01:24Just so that it will be easier to see, I am going to change the color of that
01:27fill to something else. For now I'll choose Yellow, only because that's my
01:30favorite color. So by taking a look at the Appearance panel, what I have here
01:34are the characters, which are still filled black, and then I have a new fill,
01:37which I have created that's yellow that's on top of that. So the first thing I
01:40want to do is I want to move that yellow fill beneath the black characters. To
01:44do so I'll click on the fill itself, and just drag it beneath the characters.
01:47Now you can see that over here that the black fills in front. Now that doesn't
01:51look very interesting, but the next step I am going to take that fill, the
01:54yellow fill that I have created, and turn it into the Appearance of a button.
01:58I'll go to the Appearance panel and I'll highlight that yellow fill that I have
02:00created. I'll click on the Effects button here, I'll choose Convert to Shape,
02:05and then I'll choose Rounded Rectangle, this brings up the dialog box here
02:09called Shape Options.
02:10Now I'll be honest with you, when I first saw that feature, Convert to Rounded
02:13Rectangle, I always thought well why would I want to create one shape and then
02:17convert it to a rounded rectangle, I'll just create a rounded rectangle for the
02:20beginning. But then I realized that you can apply this text. And in this case,
02:24it's actually a live and editable as well. So I'll click on the Preview button
02:28and you can see what happens here is I have taken that yellow fill which said
02:31the word Apparel, and I have converted that yellow fill, to an actual rounded rectangle.
02:37Now you have two options when you create these shapes. You can either create an
02:39absolute shape meaning that that shape is always constant in size, or I can
02:44choose an option here called Relative. That means that the fill that I am now
02:48converting into a Rounded Rectangle will change in size relative to the actual
02:52fill itself. Now by default, Illustrator adds Extra Width and Extra Height of
02:5618 pixels. That's way too much what I need for my button here. So for Extra
03:00Width, let me change it to around 6 pixels, and for Extra Height let's try 4 pixels.
03:05I'll also change the Radius of that particular rounded rectangle to something a
03:08little bit less dramatic, maybe around 6 pixels as well. Now that I have
03:12applied those settings, I'll click OK, and there you have it, a dynamic text
03:15button. Take a look at this. If I go ahead now and I switch back to my Type
03:19tool and I will highlight that word Apparel. Let's say I change it now to
03:22Events. As I type the word, the Background button automatically updates itself.
03:27Remember that that yellow background that we are seeing right now? The yellow
03:30rounded rectangle is simply the letters Events that turns into a rounded
03:34rectangle. So as I change the text, the rounded rectangle simply updates itself
03:38as I type it. Let's try something longer. Let me erase that text right here and
03:42type in Contact Us.
03:44Again as I do so, I will get that button that automatically adjusts as I type it.
03:48So when you are creating web graphics inside of Illustrator, always
03:51remember the power that you have inside of Illustrator. It's all about being
03:54efficient, productive and creative.
Collapse this transcript
7. Pixel-Based Web Graphics: Save for Web & Devices
Optimizing web graphics
00:00When you export your web graphics from Illustrator there are several different
00:03file formats that you can choose. And while sometimes you are asked to deliver a
00:07specific file format, such as JPEG or GIFF, many times as a designer it's your
00:12choice to choose which ones you want to use. So of course the question comes
00:15down to when do you save your files as a GIF, or when do you save your file as a JPEG?
00:19What about PNG?
00:21Well if you go back a couple of years, designers who worked in web design were
00:24required to export their files in a variety of different formats and then open
00:28them up each inside of a web browser, and see what they look like to find out
00:31the best one. Obviously that's a lot of work and it's very time consuming.
00:35And that's precisely the reason why Adobe offers a feature inside of Illustrator
00:38called Save for Web. In fact, you may already be familiar with this feature
00:42because it also appears inside of Photoshop.
00:44So I'll go to the File menu and I'll choose Save for Web & Devices.
00:48By looking at the tabs that appear on the top of my screen, I could either view the
00:52Original artwork, an Optimized version, a 2-Up version, or a 4-Up version.
00:58By choosing the 4-Up version, I have the ability to compare my Original artwork
01:02against three other possible formats that I could save my artwork for the web.
01:06In doing so, I take away all the guesswork and I find just the right file
01:09format for the job.
01:10On a basic level for example, I'll go ahead and I'll use my Slice Select tool
01:13to click on this one slice right here. Notice over here it says this is my
01:17original. Now I'll go ahead and I'll click on this window and I'll specify
01:21that this one should be set to JPEG. I'll come down over here. Click on this
01:24one right here, I'll set this one to GIF, but I will reduce the number of
01:27colors to around 16 Colors.
01:29Finally, I'll come down to this option right over here. And I'll choose the
01:32Wireless Bitmap option. Notice that the Save for Web dialog box not only lets me
01:36see all these pieces of artwork at once and compare their visual
01:39appearance, but I could also see the file sizes that it creates as well.
01:43This JPEG file is 9.5K in size. This GIF file is almost half of that size, at 4.5K,
01:49and the Wireless Bitmap format is even smaller.
01:51Taking your original artwork and then specifying a certain file format and
01:55adjusting its settings is a process that we refer to as optimizing web
01:58graphics. And here the name of the game is trying to find the best possible
02:02quality for your image from a visual perspective, and at the same time making
02:06the smallest file size. In this way, the artwork that you create will download
02:10fast, no matter where a person is trying to access it. It's also important to
02:13pay attention not just to individual graphics but in the case like here where
02:16you have several slices, even though this one image might be just 9K in the
02:21JPEG version, you still have to total up all the slices to see how long it
02:25would take to download that entire page.
02:26So for a web designer, the Save for Web & Devices dialog box is really your
02:30best friend. It not only offers a quick way to export your graphics in the file
02:34formats that you require, it also helps you make those tough decisions to find
02:38out how to optimize your graphics in the best way.
Collapse this transcript
Comparing GIF, JPG, PNG, and WBMP files
00:00In the world of pixel based web graphics, the most common file formats that
00:03you'll find is GIF or some people pronounce it 'JIF,' JPEG and PNG. There is also
00:10another raster format that's supported by Illustrator which is called WBMP or
00:14Wireless Bitmap. It's not nearly as popular. It's reserved for the older
00:17versions of cell phones. But in either case, let's take a look at the options
00:20that are offered for each of these file formats. I'll go to the File menu and
00:24I'll launch to Save for Web & Devices dialog box. Let's just focus right now on
00:28a 2-up version so you could see the original and also the optimized version
00:32of my artwork. I am going to go ahead and select this slice right here so we
00:34can see this Groundswell logo.
00:36And let's take a look at some of the options that are available for the GIF
00:38file format. Now one of the things about the GIF file format is that it's
00:41really optimized for working with flat colors. For example logos and things
00:45like that. Any time you have gradients or photographic content, it doesn't
00:48really work that well and the reason why is because the GIF file can only
00:52contain a maximum of 256 colors. But here's the sweet thing about working with
00:57a GIF file. Of course we know that the name of the game when creating optimized
01:01web graphics is to get the best possible looking graphic but at the smallest
01:05file size.
01:06And yes, you can have a maximum of 256 colors inside of a GIF file, but the
01:11lower that you bring that number down, the smaller your file size can get.
01:15For example take a look over here. I had this Groundswell logo and right now my
01:19file size is 9.4 k. But my Color setting is set to 256. Let me go ahead and
01:25change that to -- let's do something drastic and go down to 4.
01:28Sure, it doesn't look that great but I have also changed my file size down to
01:312.3. And this is really one of the great things about Save for Web. Instead of
01:35having to export this in many different formats and see what works well,
01:38I could just play with this particular setting until I get enough colors that
01:41it looks really good,
01:42but yet it also comes down in file size. For example here you can see that the
01:46logo itself looks pretty good. But the drop shadow here does not really look
01:49that great because there aren't enough colors to make that happen. So let me
01:51crank this up a little bit higher. Let's go to around 32 Colors. Now I have an
01:55acceptable drop shadow. My color looks great and I am able to save a couple
01:59of K on my image.
02:00Let's take a look at some of the other settings available for GIF. First of all,
02:02it says here Selective. This is actually an algorithm that's used to
02:06reduce the number of colors. Now in my original, I am working with millions of
02:10colors that are right here. How do I take those millions of colors and make
02:13them fit within just 32 colors? Illustrator has several different methods to
02:17do that. Something called Selective, Perceptual, Adaptive and Restrictive.
02:22The Restrictive version only uses web safe colors. So I doubt you'll ever get
02:26anything you'll be happy with when you use that option.
02:28For the most part, I find the Selective version to be the best. What's really
02:32happening when you use Selective is Illustrator is looking at the overall
02:35graphic and it's selecting the best colors to use in order to preserve the
02:38appearance of the artwork as you've created it. Now there are also times when
02:42you go ahead and you choose to use fewer numbers of colors that Illustrator has
02:46to use some kind of dithering pattern in order to simulate those colors. Like
02:49for example notice that over here the drop shadow is really smooth while I have
02:53lots of colors to get that great gradation.
02:55However, because I am only using 32 colors right here I start to see some
02:58artifacts in that drop shadow. By default, when you choose GIF as a file format
03:02inside of Illustrator, Illustrator use something called Diffusion Dither.
03:06However, you can choose between Pattern and Noise or you can turn off dithering
03:09all together. I don't suggest that one but there are times when depending on
03:13the colors that are used that the Noise option is better. What the Noise
03:17normally does is it adds kind of destructive pattern to that area so that you
03:20don't really see any artifacts.
03:21But I'll go back to the Diffusion setting right here. One of the really neat
03:24things about working with GIF files is that they can also have transparency
03:27settings inside of them. That means you can specify up to one color in your
03:31graphic to be transparent. We'll talk more about that in another movie.
03:34You also have an option over here to choose Interlaced. What Interlaced does is it
03:37basically allows a large graphic to download in multiple passes. So it appears
03:42first in a web browser window as a lower res graphic and then over time it
03:45starts to res up and comes to full strength.
03:48So again because of these settings, the ability to add transparency and also
03:51the ability to limit the number of colors to save file size, the GIF file
03:55format works really great for logos or things that have flat color or even text
03:59for that matter. Now if you are dealing with something that's photographic in
04:02nature and really want to get as many colors as possible, the best format for
04:05you to choose in that case would be JPEG.
04:08The main difference between JPEG and GIF are two things. First of all like we
04:12said before, the GIF format can only contain a maximum of 256 colors. JPEG can
04:18have millions of colors inside of it, but there is a catch. You see a GIF file
04:22saves file size by finding common areas of the same color. That's why it works
04:27great for artwork that has flat color. However, a JPEG is considered a lossy
04:32format, meaning that it basically takes a look at your artwork and it tries to
04:36find areas that may not be as important then it throws that data out of the file.
04:39In fact, each time that you save a JPEG the quality degrades more and more.
04:43It's kind of taking a piece of artwork and making a photocopy of it and then
04:47making a photocopy of the photocopy and making a photocopy of that photocopy.
04:51Each time you make another copy of it, the artwork just does not look great.
04:54That being said, you can see a tremendous amount of file savings when working with
04:57JPEG and again it's mainly beneficial to be used on photographic content. When
05:02you do choose the JPEG option, you could choose exactly how much quality you
05:06would like to keep in that particular image.
05:07For example, a low quality image will store a lot more information out of the file.
05:11It won't look that great. For example take a look over here; you can
05:14see lots of artifacts in the artwork. But you really get a large file savings.
05:18For higher quality, go ahead and choose something like very high or maximum.
05:21It will look great, but you may be faced with a larger file size. Here at the
05:25maximum level for example, it says over here 25k. That's a pretty big
05:29difference from the 3k option that we saw when we chose the low version.
05:33There are two other options here that are important to know about. Progressive
05:36is the same thing like interlacing was with GIF. It basically allows the file
05:39to be downloaded over time. There is also an option to include an ICC color
05:43profile with your artwork. I don't recommend this because not only does it add
05:47to your file size, there are very few web browsers that are available today
05:50that actually honor those color profiles.
05:52For a third possible option as far as file formats go, you can choose the PNG
05:57option or PNG and there are 8-bit and 24-bit versions. But I am going to choose
06:01the 8-bit one. Basically the PNG file format combines the best of both worlds
06:05between GIF and JPEG.
06:07PNG files can support more colors, they also have transparency, and they're
06:11supported by most modern web browsers. If you take a look at the options
06:15presented for the PNG file format, they match closely to what you've seen with
06:18a GIF file format and just to close the loop on all bitmap based formats,
06:22if I go over here to what it says WBMP or Wireless Bitmap, I'll see that I can
06:26optimize this graphics specifically for the wireless bitmap format.
06:30But again, it's very rare that you would want actually use this particular
06:33feature. Most of the mobile devices that are used today have the ability to
06:36support color graphics.
Collapse this transcript
Setting up transparency and matte
00:00As we've learned, one of the benefits of using the GIF file format is that it
00:04supports transparency. That means that you have an object that's irregularly
00:07shaped. For example, say a logo. It's not a rectangular or a square. Take for
00:12example this little surf logo right here. If I were to go ahead and now put it
00:15on to a different colored background, I might see artifacts from that. So let's
00:20take a look at some of those considerations here and see how we can overcome
00:22these challenges. I'll start over here in this case by just turning off the background.
00:26Let's imagine we want to make this trapped to a white background on a web page.
00:28Now I'll go to choose File, then I'll choose Save for Web & Devices. I want to
00:34focus on just that particular piece of the graphic, so I'll use my Hand Grabber
00:37tool here. Then simply kind of move along to see that part of the file. Now I
00:42will switch to my Slice Select tool and click on that to make sure that that is
00:44now selected. Since I want to work with the GIF itself, I'll actually click
00:48over here to select that GIF file format. Notice that I see that it's here
00:51selected. And if you take a close look over here what's going on, let me zoom
00:54in just a little bit here with a Magnifying Glass tool.
00:57You can see that there is kind of a white edge around the particular graphic
01:00here. So because my graphic was created on a white background inside of my
01:04layout, the drop shadow here has to fade to some kind of color so it fades
01:08right now to white. Remember that when you are working with transparency inside
01:12of a GIF file, you can only have one color be transparent. So in this case
01:16here, the white area that was here is defined as a transparent color. But since
01:20the white here starts to have some gray shades in there which taking to effect
01:24the drop shadow that was added, I no longer have the ability to make that
01:28transparent as well.
01:29Now this is fine if I am going to take this graphic and place it on to a white
01:32background on a web page. But let's say I put this on to a like a blue
01:35background. What I am going to see is this really ugly large white border
01:39around the particular graphic. So to get around that problem I am going to use
01:43the setting called Matte. In doing so I am going to define or at least tell
01:47Save for Web the exact color that this object is going to be placed upon.
01:51This way rather than fade to white, Save for Web will automatically modify that
01:55drop shadow to fade to the correct color. Obviously to make this work, you need
01:59to know what the actual background color is going to be. I come over here to
02:02where it says Matte, click on the little pop-up list here and choose Other. For
02:06example let's say now it's going to be some kind of a red color Lets go over
02:09here and choose something red. Click OK and you can see that now that drop
02:12shadow fades directly to red. In this case now when I place this artwork onto
02:17that particular color background it will blend seamlessly into that background.
02:21Another thing to keep in mind when you are working with Matte and Transparency
02:24in a GIF file was that you also have the ability to change which color does
02:27become transparent. To do that you'll use the Eye Dropper tool. By selecting
02:31the Eye Dropper tool, I can click on any color in my graphic. Notice that in
02:35the color table window here, this particular setting comes up. By clicking on
02:39the little checkerboard pattern here that's going to turn that color into transparent.
02:42Now that you know how to take advantage of both the transparency and the Matte
02:45settings for the GIF file format, you know that your graphics will always look
02:49pixel perfect when put on to a web page.
Collapse this transcript
Adjusting image dimensions
00:00One of the obvious benefits of using Illustrator for not just web design but
00:04any kind of design is that any thing that you create is vector based. Meaning
00:07that you can scale it to any size that you need. Now in reality, when you are
00:10creating web graphics, you are always designing your artwork to just the size
00:14that you need.
00:15However, there may be times when you are asked to deliver artwork in other
00:18sizes as well and rather than have to resize everything, you may be able to
00:23take advantage of some of the functionality inside of Illustrator that allows
00:26you to scale your graphics as necessary.
00:28For example, take a look at this file. I have several banners that I have
00:32created and maybe I am being asked to deliver this one banner in a different
00:35size, not 300x250 but maybe they want to be that it's just 200 pixels wide.
00:40Instead of having to create a brand new artboard and then resize that artwork
00:43right here, I can do so directly to the Save for Web dialog box.
00:47The first thing I will do is I make this active artboard by clicking anywhere
00:49within that area. Next, I will go to the File menu and I will choose Save for
00:53Web & Devices. Maybe I need to deliver this as a JPEG file. So I will change
00:58the file format from GIF to JPEG.
01:00Now let's take a look at this tab over here called Image Size. Right now the
01:04Image Size panel tells me the Width and Height of my graphic. It's 300x250 as
01:09it was originally created. But by leaving the Constrain Proportions options
01:12turned on, I will go over here where it says Width and change to the width that
01:16I really need, which is 200 pixels. Then I click the Apply button and you
01:20notice that right here in the Save for Web dialog box and my image gets resized
01:24to the exact dimensions that I need.
01:27Now when I click Save I created the file just at the size that I needed,
01:30without having to change or adjust anything of my original file. Now here was
01:34an example where I actually reduce the file size but remember we are working
01:38with vector graphics here.
01:39For example, if I want to change this to width of 800, I will type that in
01:43right here, click Apply and now everything gets resized and looks crystal
01:47clear, just the way it should be. Again, I don't have to do this inside of my
01:50Illustrator document, I can do this right here inside of Save for Web. So this
01:54happens just at the export time.
01:56Unlike Photoshop where it has to recreate my artwork at each individual size,
02:00I find myself coming back again and again inside of Illustrator because I can
02:04easily resize my graphics as necessary.
Collapse this transcript
Optimizing to a specific file size
00:00As we have said many times before one of the most important things about web
00:03graphics, at least the final version that you deliver, is its file size. Now you
00:08may look at a certain file size and think it's not too big.
00:10For example, with a broadband connection, even downloading a file that several
00:13megabytes only takes a short amount of time. However, measuring bandwidth is
00:17incredibly important when working in web design and sites that get tons of
00:21traffic, things like Google for example or Yahoo, may have so many hits in a
00:25certain day that they put restrictions in the file sizes for the ad banners
00:28that appear on their website.
00:30Because of that if you are creating an ad banner for a certain company, you may
00:33be asked to deliver that web banner at a specific file size or more likely
00:38you will be asked not to exceed a certain file size and therein lies the problem.
00:42What happens if you are working on a web banner and in order to get to a
00:45certain file size you really not happy with the way that your artwork looks?
00:48It may take a tremendous amount of time finding just the right settings to find a
00:51file size that works for you as well as the visual aspects of that file.
00:55One again, Save for Web comes to the rescue. It has certain functionality built
00:59in that allows you to dial in an exact file size of what you need and it will
01:03automatically try to find the settings to make it fit within that file size.
01:06Let's take a look. I will click on this banner over here. This is the one that
01:09728x90. Since I have now made this the active artboard, if I choose File and
01:14then choose Save for Web that ad banner and that ad banner alone appears inside
01:18of my dialog box. I have noticed by the way sometimes insides of Save for Web
01:22resizing the overall window helps you adjust how that appears inside of the
01:26dialog box. This can be especially helpful with ad banners that are always in
01:30this wide format.
01:31For example, if I choose 4-Up over here I can easily see four different
01:35versions of that banner. But let's say I click on this one right over here and
01:38I have been told that I need to get file size down to maybe 17K. Right now it
01:44set to 24K. Instead of me trying to mess or adjust those particular settings, I
01:47will come over here to the Fly-out menu which appears right here on the top
01:50right of the dialog box and from that menu I will choose Optimize to File Size.
01:55This brings up a dialog box that lets me dial the exact size I need.
01:58So I will type in 17K. I could choose this Start With Current Settings and I
02:02could also have Save for Web Auto Select GIF/JPEG, which ever is the one that
02:06it feels going to be the best. I will choose OK and automatically Illustrator
02:11chose GIF format, came just under 17K and it looks great.
02:16I will be honest with you. I actually find it funny that such a useful feature
02:19inside of Save for Web is so cleverly hidden inside of that little tiny flyout menu.
02:23But the next time that you need it, now you know exactly where it is.
Collapse this transcript
Editing output settings
00:00You know at first glance, the Save for Web feature inside of Illustrator
00:03appears pretty simple. I mean, it allows you to take your files and optimize
00:06them for GIF, JPEG or any of the other file formats that exists for the web.
00:10But there is really tons of functionality that's hidden deep inside of Save for
00:14Web and if you are willing to go there, there's lots of great things that you
00:17can do using the Save for Web feature in Illustrator. But just a little
00:20disclaimer, before we get started. Some of the functionality that I'm about to
00:23show you matters most to web developers or programmers and not necessarily to
00:27designers. Let me show you what I mean.
00:29I have this web layout that I've created. All my slices are done and I'm ready
00:32to go and publish this page. So I'll go to the File menu and I'll choose Save
00:37for Web & Devices. Let's say for now that I'm willing to take auto Default
00:40Settings for all these slices and I'm ready to save my document. So I go over
00:44here to the Save button and Illustrator ask me when do I want to save all my
00:47content. I'll throw this off to the desktop in my computer, and where it says
00:51Format down here, I don't just want the images themselves, I also want the
00:55HTML. This way I get an HTML page with the table inside of it and also all the
01:01images that appear inside the cells of those tables.
01:03As far as slices go, I obviously want all the slices to be included and here's
01:07where the fun begins. Underneath the Settings pop-up menu, I'm going to choose
01:11Other. Well, that brings up a dialog box called Output Settings. If you think
01:15there is a lot of information to look at, try clicking on this pop-up menu and
01:19see that there are actually four different panels within this one dialog box.
01:23This first one here is called HTML and what it allows you to do specify exactly
01:27how Illustrator writes the HTML file that you create. For example, you may want
01:31to choose XHTML.
01:33In doing so, you can also choose how Illustrator formats the HTML as well as
01:37specify how the code is written. There is a whole another setting here for the
01:40slices themselves. If you're doing your website design on your own or you're
01:44working with a web developer, this setting is actually one of the most
01:47important where it says Slice Output.
01:49Now until now, we've been discussing how Illustrator creates the slices using
01:54an HTML based table. But I also mentioned that nowadays more and more people
01:58are moving towards the Web 2.0 standard and using CSS layouts as they can form
02:03to standards based design. If you want to export your artwork using CSS rather
02:07than an HTML table, just click on this one button right here. Rather than cells
02:11in a table, Illustrator will automatically create divs for each of the slices
02:14that you've defined.
02:15Additionally, you can choose Background. This allows you to specify a
02:19background image for the HTML page that you're creating. Finally, there is an
02:22option here for saving files. For example, if your artwork has lots of slices
02:26inside of it, Illustrator will use these settings for how it names each of those slices.
02:30Since most web servers are hosted on UNIX machines, it's always great to choose
02:34the UNIX option for File Name compatibility. Finally, you may notice that every
02:38single time that you save images out of Save for Web, it puts into a folder
02:42called Images. You can easily change the name of that folder by changing
02:45this word right here.
02:46So as you can see, there is a ton of information here for Save for Web. Now you
02:50don't have to worry about coming to these dialog boxes every single time you
02:53want to export a file, because you can save all these settings as a preset. Any
02:57time that you save a setting, it appears in this pop-up list right here.
03:00Now if there are some settings here in this dialog box that confuse you, you
03:04may want to reach out to your web developer or someone else that you deal with
03:07for your web programming.
Collapse this transcript
8. Vector-Based Web Graphics: Creating Flash (SWF) Content
Understanding Illustrator and Flash workflows
00:00Adobe Illustrator and Adobe Flash Professional are both vector-based
00:04applications. But before we learn how these applications work together, let's
00:08take a moment to explore some of the common workflows that exist between these applications.
00:12Now the first thing I want to talk about is a common misconception out there.
00:15That SWF and Flash are the same thing. Sometimes people use those phrases
00:19interchangeably. But they really refer to two different things and throughout
00:22the rest of our title here, when we refer to SWF or S-W-F, that is the final
00:27delivery format of a file, a file that's uploaded to the web and it's played
00:31back to the Flash Player. However, Flash is the actual application that authors
00:35these files. In other words, a SWF file is what is created by the Flash application.
00:41Now the reality is that you can create a SWF file without using Flash at all.
00:44When we're using Illustrator and Flash there are really two ways to think about
00:48delivering these SWF graphics to the web. We can either work entirely inside of
00:52Illustrator and export our graphics to SWF directly using Illustrator or we can
00:56design artwork inside of Illustrator and then bring those into Flash and then
01:00create the SWF out of Flash.
01:02Obviously, Flash Professional, the application, can do a lot more to a SWF file
01:06than you can do inside of Illustrator. For example, Flash developers spend a
01:09lot of time writing custom ActionScripts to make Flash files do just what they
01:12want them to do. Illustrator doesn't have that capability. But we'll spend some
01:16time exploring the benefits of creating SWF directly out of Illustrator or
01:20exporting artwork from Illustrator and bringing them to the Flash application.
01:23Keeping that in mind, there are three common workflows that exist. Designer
01:27only workflows are those in which there is only one person is really working on
01:31all the artwork. That person is in charge of look and feel of what you're
01:34trying to create. In such cases you may design all your work inside of
01:37Illustrator and export to SWF directly or if you are a designer who knows how
01:41to use Flash, you may save your files as an Illustrator file and then bring
01:44that into the Flash application.
01:46Then there are developers. These are people who primarily work inside of code
01:50and as such they're probably more familiar with working inside of the Flash
01:53application. So if you're a developer, you'll probably care more about how easy
01:56it is to bring artwork from Illustrator, which may be handed off to you by a designer,
02:00and bring that directly into your coding environment inside of Flash.
02:03Finally, there is the designer/ developer workflow. Here is an established
02:07relationship between a team of people. Some people who are maybe just in-charge
02:10of the visual look and feel of a particular website or an interactive graphic,
02:14and then you have a developer who is involved in making sure that the code works.
02:18Traditionally, there has always been a big divide between the designers and the
02:21developers. But because Flash and Illustrator work so well with each other,
02:25we'll learn how easy it is to create artwork inside of Illustrator and then
02:28when that artwork gets brought into Flash, it has all the functionality built into it.
02:32This means a designer can focus on making sure the artwork looks just right
02:35inside of their design application, Illustrator, and know that when that
02:38artwork is brought into Flash, it will be completely functional and useful for a developer.
Collapse this transcript
Understanding SVG
00:00Whenever I speak about Flash, I always get a couple of questions about SVG. SVG
00:04stands for Scalable Vector Graphics, and it is a vector-based file format
00:08that's used on the Web. But in reality, the similarity between SVG and Flash
00:12end pretty much there.
00:14While Flash is a format that's owned by Adobe, SVG is an open standard.
00:18It's not owned by any particular company, and it's developed under the auspices of the
00:22W3C or the World Wide Web Consortium.
00:24When it was first introduced, there was a tremendous amount of momentum behind
00:28SVG. However lately, Flash has become the de facto standard across the Web.
00:32And because of that, in this particular video title we deal specifically with
00:35Flash workflows, not SVG.
00:37However, if you are intriguing by SVG or you want to learn more, you might
00:40want to visit Adobe's SVG zone. The Web address for that is www.adobe.com/svg.
00:47But I will tell you though that this is information that really hasn't been
00:50updated in a long time.
00:52In fact, if I scroll down the page over here, you will see that Adobe makes
00:55numerous references to CS2 and also GoLive, a project that Adobe no longer ships.
01:00But if you really like to find the most up-to-date information about SVG,
01:03go ahead and visit SVG.org. Being that it is an open standard, there are really
01:08many different things that can happen to SVG over time.
01:10For example, more functionality may be added and it may be supported on more
01:14platforms. But for now, if you are looking to deliver interactive vector-based
01:17content on the Web, Flash is certainly the way to go.
Collapse this transcript
9. Vector-Based Web Graphics: Preparing Art for Flash
Defining symbols in Illustrator
00:00When you are creating artwork that's going to be published using Flash,
00:03you will want to take advantage of the symbols feature inside of Illustrator.
00:06Now in reality in the world of Flash, symbols, at least what I always kind of feel,
00:11are the lifeblood of Flash.
00:13If you really want to add any kind of interactivity, or you want to be able to
00:16add scripting to be able to do something instead of Flash, you need to create
00:19a symbol first.
00:20So first let's understand exactly what a symbol is. A symbol is simply any kind
00:25of artwork that exists inside of your document. In the case here of
00:27Illustrator, it can be anything with the lone exception of a placed linked image.
00:31Now once you create that symbol, you can reuse that piece of artwork many, many
00:35times inside of your document, but it doesn't add to your file size. All the
00:38copies of the symbol that you create are simply aliases of the original symbol
00:42that you have created.
00:44When we work with symbols, we refer to the first piece of artwork that we
00:47define as a symbol, and all other copies of that are referred to as instances
00:51of that symbol. Let's take a look at how we defined symbols inside of
00:54Illustrator, and it's important to note that when you create symbols inside of
00:57Illustrator, anytime down the road that you bring your artwork into Flash,
01:01those symbols are maintained. And again, this is important going back to some
01:04of the workflows that we have discussed.
01:06If you are working with developer, by going ahead and creating and defining the
01:09symbols right now instead of Illustrator, there is less work for the developer
01:12to do later on in the workflow. And just as importantly, if you're the designer who
01:15is starting off inside of Illustrator and then going to Flash, by defining your
01:19symbols now inside of Illustrator, there's less for you to do when you get into Flash
01:22as well. In fact, when I am working on an artwork that I know is going to go
01:25into Flash, I try to add as many things as symbols as possible.
01:28So let's take a look at this example here. I have this banner that I have
01:31created. Well, it's basic elements that I plan on turning into an interactive
01:35banner. But for now I'd like to take each of the elements and turned them into symbols.
01:38Let's start with this surfer guy right over here. I will go ahead and click on
01:41that piece of artwork. And then I come over here to the Symbols panel, and
01:44click on this button over here called New Symbol. In doing so a dialog box
01:48comes up and I have to give my symbol a name. I strongly suggest that you
01:51don't just call it New Symbol, and then New Symbol 1 and New Symbol 2, because
01:54that will be more difficult to reference them later in your workflow.
01:56I'll go ahead now and I call this one SurferDude. Now don't worry about these
02:00settings that are here, we'll get to you exactly what each of these things do,
02:03but for now I am just going to click OK. And I have defined my symbol.
02:06Illustrator also automatically converted this piece of artwork now into the
02:09first instance of that symbol. Any time I want to add more instances, I can
02:13simply take this symbol from the Symbols panel, and drag it out onto my artboard.
02:17Let's create a few more symbols here. I'll take this logo right here
02:20Groundswell. Now remember, this is not one single piece of artwork, but this is
02:23a group of objects. Anything at all can be a symbol. Instead of using the icon
02:27inside of the Symbols panel, I am going to use the keyboard shortcut.
02:30The keyboard shortcut to define a symbol, not only in Illustrator but also in
02:33Flash, is simply to tap the F8 key. That brings up the same Symbols Options
02:37dialog box, and here I will type in a name Groundswell_Logo. Let me move over
02:44here to the left side, and I want to show you that I am going to create a
02:46nested symbol. That means when I have basically two symbols that are embedded
02:50within another symbol.
02:51I'll start by clicking on this Surf logo right here. I am going to double-click
02:54over here, so that I am isolating just as one object, and I'll turn that into a symbol.
03:00Next, I'll select the text and the button around it, and turn that into a
03:04symbols as well. Now I'll double-click, and I'll select both of these symbol
03:09instances and finally I'll turn that into a symbol as well.
03:15The benefit here is that I have now created a single symbol that has two other
03:18symbols inside of it. If in my designs I sometimes want to have this logo
03:21appear on its own, but also sometimes together with a button, I could modify a
03:24single symbol and they'll update no matter where they are.
03:27Finally, I'll create one more symbol here. I'll select these waves and I'll
03:30turn that into a symbol as well. So now I have created all the symbols that I
03:34want inside of my document. Now there is one other thing that I want to cover
03:37here with regards to symbols.
03:39As I mentioned before, symbols are the lifeblood of Flash. If you want to add
03:42any kind of interactivity inside of Flash, you need to create a symbol.
03:45Once I have a symbol, I can write an ActionScript code that tells that symbol to do
03:49something. But we also know that we can create multiple instances of a single symbol.
03:53For example, like before I came over here to the Symbols panel and I created
03:57now another instance of this surfer guy. Now both of these symbols have the
04:00exact same name. So if I wanted the ActionScript code to tell one of these
04:04particular surfers to kind of move around, how would I do that? How would I be
04:07able to reference just one of those symbols using code?
04:10So in Flash, you have the ability not only to create a symbol and name that
04:13symbol, you also have the ability to name each individual instance. The way
04:18that I would like to refer to it is that when you create a symbol and you give
04:20that symbol a name, it's like giving that piece of artwork a last name.
04:23For example, everyone in my family has the same last name, but if I wanted one
04:27of my kids to actually go ahead and do something, and I just yelled that out
04:30our last name, probably none of the kids will listen at all, but there will be
04:33no ways for me to reference exactly one of them. That's why we give our
04:36children first names. In that case, I can go ahead and call their first name
04:39and tell one of them to do something specifically.
04:41So think of an instance as a person's first name. In the past, the only way to
04:45add instance names was directly inside of the Flash application, but what's
04:48great now about the integration that exist between Illustrator and Flash, I can
04:52add those instance names right here inside of Illustrator. Take a look over here
04:55at my Control panel. It says here, Instance Name, which is currently set to nothing.
04:59So with that particular symbol selected, I'll call this one dude_01 and then
05:04I'll click on this one over here and I'll refer to the one over here as dude_02.
05:09Now when I bring this piece of artwork into Flash, I'll be able to use
05:12ActionScript code to reference each of those two different symbol instances directly.
05:16The key concept here is that the more work that you do upfront here in your
05:19design inside of Illustrator, the less work you will have to do when you get into Flash.
Collapse this transcript
Editing symbols in Illustrator
00:00One of the true benefits of working with symbols is that when you edit an
00:03original symbol, all of the instances that you've also added update as well,
00:07and what I really like about what Adobe has done so far with working with
00:10symbols is that they have made the experience across both Illustrator and Flash
00:14nearly identical. We already know to create a symbol, you tap the F8 key and
00:18again that applies to both Illustrator and Flash.
00:21Well, if you want to modify or change the artwork that appears inside of a
00:24symbol, all you need to do is double- click on that symbol on the artboard.
00:28So for example, say I want to change some of these waves and make some kind of
00:31modification to it. I will double-click on it, and I will get a dialog box here
00:35it says that I am about to edit the symbol definition.
00:37I will go ahead and I will click OK, and now you can see that the other
00:40artwork has kind of dimmed back somewhat. In fact, before this surfer dude was
00:44in front of the waves. Temporarily, Illustrator takes the actual symbol itself
00:48and brings the artwork to the front so I can see all of it. In fact, you will
00:51see that I can't even select this. It is locked.
00:53So I have the ability to see the artwork in context to the design that I am
00:56creating, but it's much easier for me now to edit the artwork that appears
00:59inside of that symbol. Take a look over here also. It has the name of the
01:02symbol here, and it appears in this gray bar across the top of my screen.
01:06This gray bar indicates that I am now editing a symbol. I'm in what
01:09Illustrator refers to as Isolation Mode. Basically, the artwork in the symbol
01:13has been isolated from everything else from the file. I also have the ability
01:16to dive deeper into the artwork here in this particular symbol. For example,
01:20I can double-click now on this and each time I double-click, I go one step
01:22further. Notice now that I am inside the symbol, inside the group that's in
01:26that symbol, and inside the path that lives inside that particular group.
01:29I just want to jump over the Flash for a minute and show you that's exactly
01:32the same way that it works in that application as well. So here inside of Flash
01:37I have the exact same piece of artwork. In fact, I just copied and pasted it
01:40here into Flash.
01:41If I click on it, I see the instance name right here in the Properties panel.
01:45If I want to edit this particular symbol, I can just double-click on it. Notice
01:48now a gray bar appears across the top of the screen. I have my RadWaves symbol
01:52right here and again a double-click again, continues to drive me deeper and
01:56deeper into that particular object.
01:57Once I am done editing, I can simply double-click anywhere outside to step
02:01back upwards in the hierarchy of that particular symbol. Again, back in
02:05Illustrator it works the same way. In fact, I can just simply come over here to
02:09the gray bar and click on this little arrow to go back one level at a time or
02:13simply tap the Escape key on my keyboard to just exit Isolation Mode
02:16altogether and go back to working with my artwork.
Collapse this transcript
Choosing a symbol type
00:00In the Adobe Flash Professional application, when you define a symbol, you can
00:04choose between three different types of symbols. There is a graphic symbol, a
00:07movie clip symbol, and a button symbol.
00:10Now in Illustrator, you can create a graphic or a movie clip symbol but not a
00:14button symbol, and that's simply because Illustrator itself has no way to
00:17define the states that exist within a button. However, let's explore the other
00:21two types of symbols that you can create here inside of Illustrator, graphic
00:24symbols and movie clips.
00:26So I will click on the Groundswell symbol right over here, and then from the
00:29Symbols panel, I will click on this button here, which allows me to choose the
00:32Options for that symbol. This may look familiar; it's the exact same dialog
00:36that appears when you first define a symbol. Now there's another over here
00:38where it says Type. You can choose between Graphic and Movie Clip.
00:42A graphic symbol is simply a symbol that exists as a flat static graphic. The
00:47main benefit that you derive from defining a graphic symbol is that you can
00:50repeat that symbol many, many times throughout your artwork, and your file size is reduced.
00:54However, if you want to add any kind of interactivity, you need to define a
00:58movie clip symbol. In fact, most of the symbols that Flash Developers use are
01:02going to be movie clips. The main difference between a graphic symbol and a
01:05movie clip symbol is that a graphic symbol basically exists as a single graphic
01:09on the overall timeline, but a movie clip symbol has its own timeline embedded inside of it.
01:14What does that mean? Well, let me give an illustration. Say you wanted to
01:17create this animation of a bird flying to the sky. Well, if you had a graphic
01:21symbol, you could make the bird fly from the left to the right side of your
01:24screen. But if you define a movie clip symbol, you can define a bird that flaps
01:28its wings, and that particular animation of the bird flapping its wings is all
01:32embedded inside of the movie clip itself.
01:34So in that regard, when you make the same bird fly from the left to the right
01:38side of your screen, the bird will be flapping its wings as it does show.
01:41Graphic symbols can do that, but movie clip symbols can't. But there is one
01:45point overall that's even more important than all of this.
01:47No matter what type of symbol that you choose here inside of Illustrator, the
01:50difference is only what happens inside a Flash. However, with regards to using
01:55Illustrator itself, there is no difference to a graphic or a movie clip symbol.
01:58In fact, the symbol type alone means nothing at all when you are inside of
02:02Illustrator. It only takes effect once you bring this artwork into the Flash application.
Collapse this transcript
Setting the Flash registration
00:00When you are working inside of Illustrator, we have already seen how important
00:03the Transform panel is. We use it not only to position our objects on our
00:07screen, but also to resize them precisely. For example, when clicking on this
00:11symbol right here, I can see its exact coordinates by looking over here at the
00:14Transform panel.
00:15Now when we are in the Transform panel, we are always looking over here at the
00:18Reference Point to see what these values refer to on the object itself. In
00:23reality, when you are working inside of ActionScript inside of Flash and you
00:26want to be able to rotate an object, you want to be able to resize an object
00:29using code; you also needs to use a Reference Point to tell the script where to
00:33start that particular transformation from.
00:35Now you can either way to do it inside of Flash or you can do it right here
00:38inside of Illustrator. The beauty of doing it here inside of Illustrator is
00:41that once you set it, you don't have to worry about it later on. To do so
00:44select any symbol and then from the Symbols panel, click on the button over
00:48here to be able to show this Symbol Options.
00:50Here within the Symbol Options dialog box, you have a Flash Registration point.
00:54It's the same reference point that you are just seeing here in the Transform
00:57panel. I will tell you that by design most developers like to have the Flash
01:01Registration always set to the upper left-hand corner as you see it right now.
01:05That's because when performing math calculations, it's just easier to figure
01:08things out in that way. But no matter what you choose, I am sure developer will
01:11be happy if you are simply consistent with everything that you do.
01:14Again, whatever Flash Registration you choose here in the Symbol Options dialog
01:18box inside of Illustrator will transfer when that particular graphic is brought into Flash.
Collapse this transcript
Using 9-slice scaling
00:00As a designer, depending on the medium that you are creating your artwork for,
00:03you face different challenges. For example, print designers may be faced with
00:07choosing between different inks or different types of paper. We have discussed
00:11how choosing the right color can also be a challenge for even web designers,
00:14but when it comes to working with Flash itself, the fact that the artwork that
00:18we create is interactive that it changes as its use can also offer additional
00:22challenges to a designer.
00:23Let me explain what I mean. Let's say I wanted to create a button that changes
00:27over time, maybe I wanted to animate inside of Flash. Well, when I define my
00:32button and I specify how it should look, how does it look when it actually goes
00:35ahead and changes its state? Let's take this button for example; I am using a
00:39little bit more on this.
00:40Notice it's a nice button that has rounded corners. But look what happens, if I
00:44go ahead now and I resize it. Let's say I stretch this that it should grow
00:46over time. Look what happens to the corners. Well, it was nice pretty rounded
00:50corners before, now it turns into these ugly stretched corners.
00:54Again, this is before and this is after. What are the challenges about working
00:58with graphics that you know are going to published with Flash is to find the
01:01way to have these particular elements scale gracefully.
01:04Well, the good news is that there is a feature inside of a symbol which we
01:07refer to as 9-Slice Scaling. It's way for us to kind of build intelligence into
01:12a symbol to tell that symbol how we should scale over time? Instead of waiting
01:16to get into Flash or define that type of functionality, we can actually as a
01:20Designer plug that right into the symbol, right here inside of Illustrator. And
01:23again, once I define it here inside of Illustrator, that property translates
01:27through directly into Flash.
01:29So the first step here is going to be to define this into a symbol. I will go
01:32ahead and hit F8 on my keyboard and I will go ahead and I will call this one
01:36sliding_button. I will define it is a Movie Clip. I will leave my Flash
01:41Registration set to the upper left- hand corner here, and I will choose this
01:44option called Enable Guides for 9- slice scaling. Now I will click OK.
01:49Now I want to be able to edit my symbol. So I am simply going to come over here
01:52and double-click into my artboard. I got a dialog box which by the way if you
01:57are editing symbols all the time, you might want to choose Don't Show Again and
02:00I will click OK.
02:01Now take a look at this, because I went ahead and I specified to turn on that
02:05option for 9-slice scaling, my symbol now appears with four guides. Two of them
02:10are horizontal and two of them are vertical. The way that I position these
02:14guides are going to make that particular symbol intelligent and know how it
02:17should scale. Because of the way that these particular guides are drawn I am
02:21left with 9 regions on my screen 1, 2, 3, 4, 5, 6, 7, 8, and 9.
02:29Each of these regions will get scaled in a different way. Basically, the way
02:32that 9-slice scaling works is that the middle region over here will always
02:35scale both horizontally and vertically. However, each of the corner regions
02:40here do not scale at all.
02:41So any artwork that appears in this particular region and this region here, and
02:46in this region, and finally this one here as well, will always remain as they
02:49are. Artwork that appears in this region here and in this region here will only
02:53scale vertically. And likewise any artwork that appears within this area or
02:58this area will only scale in a horizontal fashion.
03:00So let's position our guides. What I will do first is make sure that my guides
03:04are not locked. The easiest way to do this is to use the Contextual menu. If
03:08you are on a Mac with just a single- button mouse, hold down the Ctrl key and
03:11then click to get the menu. If you are on Windows or if you have a two-button
03:14mouse, just hit the right- click button on your mouse.
03:16Here I will uncheck Lock Guides. Now I will simply position the guides that I
03:20have the regions instead of the way just that I want my object to scale. By
03:24carefully doing this right now, I am basically telling Illustrator, this
03:27particular area and this particular area you can only scale in horizontal fashion.
03:31This one here and this one here scales vertically and the corners will always
03:35remain unchanged. In this way, when my object is scaled and it grows, I will
03:39make sure that the corners don't change and they always remain nice and sharp
03:43the way that I have defined them.
03:44Now that I am there with my 9-slice scaling, I will simply hit the Escape key
03:47to go back to my regular piece of artwork. Now here is the important thing to
03:50know about Illustrator. Because of inside of Illustrator and because the
03:549-slice scaling is only a Flash- based feature, if I scale my artwork here
03:58inside of Illustrator, I won't see the effects of the 9-slice scaling.
04:00For example, I will click on this symbol right here and I will stretch it, and
04:03you will see that the corners really don't look that pretty at all. But take a
04:07look at this. If I now go to the File menu and I choose Save for Web & Devices,
04:11and I come over here-- Let's position this so I can see it better on my screen.
04:15And instead of a GIF format, I go ahead and choose the SWF format, right, for
04:19Flash. Now that I will see that the corners do appear correctly. That's because
04:23Illustrator is using the Flash Player to simulate what this particular piece of
04:26artwork is going to look like.
04:27So basically, I have added this functionality here inside of Illustrator and it
04:31will take effect as soon as I bring that into Flash.
Collapse this transcript
Defining static and input text
00:00Putting ourselves into the mindset of interactivity, we know that when you are
00:03working inside of Flash, you can either have text that appears on your screen
00:06which you simply look at and read, but there is also type that you interact with.
00:10For example, let's say you have a field that you want someone to actually type
00:13in some information, or maybe there is some dynamic text that's being displayed
00:17inside of your Flash animation that's maybe coming from a database. Well,
00:21Illustrator lets you define that kind of text right upfront here inside of your layout.
00:24To show you, I am actually going to specify some different settings for this
00:27text that appears over here that says Sign Up! Now, this is already a symbol,
00:31but I want to show you another way that you can actually edit or modify symbol
00:34inside of Illustrator.
00:35We already know that I can go ahead and I can double click on this symbol to
00:38isolate that symbol, and what we created here was a Nested symbol. I can
00:41double-click on that one as well to isolate that symbol. But I am going to tap
00:44the Esc key, because I want to show you another way to do that.
00:46Remember when I go ahead and I double click on a symbol on the Artboard, all
00:49the rest of the artwork just simply grays out. So I see my artwork in a context
00:53of everything else in my design.
00:55But let's say I want to focus just on the symbol alone, I just want to work
00:57with that text. I really don't want to see anything else. Well, come over to
01:00the Symbols panel and you will see that I have that particular button right
01:03here. If I double click on a symbol in the Symbols panel, I have the ability to
01:07isolate that symbol, but everything else is removed from my vision. In fact,
01:12take a look at my Layers panel right here, it says that I am in Isolation Mode,
01:15and the only thing I have available to me right now is my Text button, nothing else.
01:19When you do things in this way, you are able to focus specifically on this
01:22piece of artwork without anything else getting in your way. So let's take a
01:26look at this text. I will go over here and I will click on just the text object
01:28right here. I will go up to the Window menu, I will choose Type, and then I
01:33will choose Flash Text. This brings up the Flash Text dialog box.
01:38Now, you will see here that for Type, I have three different options to choose
01:41from. Static Text means that its just regular plain text that's just sitting
01:44there, for me to read.
01:46Dynamic Text means that that text would now be brought in from a database or a
01:50script or some other kind of way for me to actually make that text change on
01:55the fly as the SWF is being played back in the web browser.
01:58Alternative, there is something called Input Text. Input Text would simply be
02:01the kind of text that I would expect somebody else to interact with and type
02:04into my layout.
02:05For example, if I wanted someone to type in their email address so I could send
02:08them something, I might have a text field that I will create. I will choose the
02:12typeface in a way that type should look, but I will define that as Input Text.
02:16That way when that's displayed in the final Flash file, it will be a field that
02:19the user can simply go ahead and type some information into.
02:21The way that Flash deals with these is that it turns these text objects almost
02:25into like symbols. For example, I will choose Dynamic Text here. When I do so,
02:29I am going to click OK over here, and I could add an Instance name for that
02:32text object. I could choose the Rendering Type; and this is just a simple way
02:35for Flash to do a better job at anti- aliasing that type so looks better on my screen.
02:40I also have additional options when I choose Input Text. The most important
02:44part here is defining the maximum number of Characters that I will allow in
02:47that particular field.
02:48Once I am done, I will simply Edit out of that particular symbol, and I now
02:51know that I have changed the text inside of that particular symbol button.
02:54Now again, the real benefit here is simply that I can define something here
02:58inside of Illustrator and not have to wait to actually define or change that
03:01when I am inside of Flash. More importantly, if I am working with a developer,
03:05the developer right away knows simply by looking at the text exactly what my
03:08intention is for how that text should be used inside of the animation.
03:11Remember, as with almost all of these settings here that we are specifying for
03:14Flash, all these settings only apply to the text when it gets brought into
03:18Flash itself, but here inside of Illustrator, whether I define Static Text or
03:22Input Text, or Dynamic Text, it has no effect whatsoever inside of Illustrator.
Collapse this transcript
10. Vector-Based Web Graphics: Going from Illustrator to Flash and SWF
Setting preferences in Flash
00:00So you have created your masterpiece here inside of Illustrator and you are
00:03ready now for the next step. You are ready to bring your artwork into Flash,
00:06the application.
00:07Now, one of the great things that Adobe has done recently is made it much
00:11easier to move artwork between Illustrator and Flash. In fact, beneath the hood,
00:15Flash now uses the exact same drawing engine that Illustrator does.
00:19That means that when you bring artwork from Illustrator into Flash, the integrity of
00:23your artwork is preserved. But in reality there are a variety of preferences
00:27that you can set inside of Flash to make this transition a pleasant one.
00:30Let me switch over to Flash here and I will go over here underneath Flash,
00:34and choose Preferences. On Windows, you would find the Preferences settings
00:37underneath the Edit menu.
00:39Notice on the left side here where it says Category, towards the bottom there
00:42is something here called AI File Importer. By choosing this option I now see
00:46all the settings that Flash applies when bringing artwork in from Illustrator.
00:50For example, do you want to able to exclude objects that appear outside of the
00:54artboard? Do you want to import hidden layers? When you import text, do you
00:58want that text to remain editable? Would you like it to be converted to Outlines,
01:01or do you want it to be Rasterized?
01:03Notice that in each of these cases as well, whether you are importing text,
01:06paths, images, groups, or even layers, you can specify to have Flash
01:10automatically convert those elements to movie clip symbols. Likewise, you can
01:13set the default registration for those symbols.
01:16For now, I will leave the default settings here inside of Flash, but as we
01:19become more comfortable with moving artwork from Illustrator into Flash, you
01:23may come back to this Preferences settings to get things exactly the way that
01:25you need them.
Collapse this transcript
Copying and pasting elements
00:00When you are working on creating Flash content with Illustrator, there may be
00:03times when you quickly want to bring some piece of artwork from Illustrator
00:06into Flash. There are several reasons for this.
00:08First of all, you might have a whole composition already setup inside of Flash,
00:12and you want to be able to tweak a few elements. Well, you may find the tools
00:16available inside of Illustrator to be far more intuitive from a drawing
00:19perspective than that found inside of Flash.
00:21Alternatively, you may be working with a developer and he may be asking for a
00:24certain type of graphic or element, rather than struggling to try to figure out
00:28how to draw those elements inside of Flash for them, you can just create them
00:31inside of Illustrator and have them work with it from there. In those cases, to
00:34bring individual elements from Illustrator into Flash, the easiest way to do
00:38that is simply to copy and paste it from Illustrator into Flash.
00:40Let's take a look. I will go ahead and I will click on this particular symbol
00:43right here called Groundswell. By looking in the Symbols panel here, I see that
00:47the name of that symbol is Groundswell_ Logo. Take a look. Also, it's a Movie
00:50Click and see where the Flash Registration is.
00:52I will click Cancel, and you will also see that over here the Instance Name is
00:55set to logo_01. Keeping that in mind, let's now bring this into Flash.
00:59I will simply choose Edit > Copy, I will switch over to the Flash application,
01:05and let's create now a new ActionScript 3 file. Now, I will simply choose Edit
01:09and then I will choose Paste in Center.
01:11The Paste dialog box comes up and the option, Paste using AI File Importer
01:15preferences is available. I will simply click OK and my artwork appears right
01:19on my screen.
01:20But take a look at this. If you look at the Properties panel, you will see that
01:23my movie is already set to Movie Clip. The name of the symbol is preserved,
01:26Groundswell_Logo, and the Instance Name, logo_01, appears here as well. So
01:30everything that I have defined inside of Illustrator comes right here inside of Flash.
01:34In fact, let's take a look at the library here. I will go up to the Library tab.
01:37I will see that right over here inside of this particular folder called
01:40Illustrator Symbols, I now see that that symbol has come right into my Library
01:44as well. So in most cases a simple copy and paste from Illustrator to Flash
01:48does just the right job.
Collapse this transcript
Exporting entire files
00:00While copying and pasting individual elements from Illustrator into Flash can
00:04be useful, there may be times when you have an entire document all ready to go
00:07and you just want to bring everything in one fell swoop. Again, whether you are
00:11just the designer who is using both Illustrator and Flash, you can easily see
00:14the value of defining and creating everything in your favorite design
00:17application, Illustrator. But then adding all the interactivity later on
00:21inside of Flash.
00:22And likewise if you are working with a developer, it's much easier for you to
00:25take your simple Illustrator file and hand that off to the developer, which
00:28they can then use directly inside a Flash. You may know that if we go to the
00:32File menu, you can choose Export. In doing so, underneath the File Format
00:37setting, you can choose to export your file as a Flash or SWF file.
00:41However if you are moving graphics from Illustrator into Flash,
00:45the application, this is not the way to go. As I shared with you before,
00:49Illustrator and Flash do share the same graphics engine. And likewise whether
00:53you work with symbols and other elements such as text, they're all the same.
00:57Therefore, the best way to bring an entire file from Illustrator into Flash is
01:01simply to save your file as a regular native Illustrator file.
01:04So I will cancel out of this. I come over to the File menu and I will choose
01:08Save As and on my desktop I will choose to save this file called
01:12animated_banner and I will name this one flash_banner. I will click OK over
01:18here in the dialog box. I will just take the regular standard Illustrator
01:21settings and now I will switch over to Flash, the application.
01:23I will create a brand new Flash file right here and now I want to get started
01:27with everything I have done inside of Illustrator. To do so, I will go to the
01:30File menu > Import > Import to Stage. I go to my desktop and I will choose that
01:38flash_banner.ai file and import it.
01:42Now Flash throws up this Import dialog box, which gives me a tremendous amount
01:46of control over exactly how this entire file does get imported into Flash.
01:51As you can see on the left side over here, every single object that I have created
01:54inside my Illustrator file shows up in this list. I can choose to import only
01:58specific layers, and I will go ahead I will close these layers so I just see
02:01the overall layers that exist in the file.
02:03In the Illustrator file I had a Background layer, a Surfer layer, a Groundswell
02:07logo on its own layer and that Sign Up button as well. If I don't want any of
02:12these, I can simply uncheck it and then that artwork will not be included
02:15inside of Flash. But in this case here I am going to have all these options
02:18checked. Take a look over here. It also says Select Illustrator Artboard.
02:21If I would have had multiple artboards defined to my Illustrator document, I can
02:25simply choose which those artboards I want to import.
02:27Let me highlight just one of these for example. I will go ahead and I will click on
02:30the word here Groundswell. I can turn that entire layer here and simply convert
02:34that to a bitmap or I could turn that entire layer into a movie clip as well.
02:38But since I have done all this work already inside of Illustrator, I don't even
02:41need to go there. The one thing that I do want to make sure is taking a look at
02:44some of the settings down here on the bottom.
02:45I would like to convert all my Illustrator layers into Flash layers. By the way,
02:49the alternative is to turn them into keyframes or to turn everything to a
02:52single Flash layer, but I want to preserve my Illustrator layers and turn them
02:55into Flash layers. I want to place all my objects at their original position
02:59and most importantly, I want Flash to automatically change its stage size to
03:03match the size of the artboard that I created inside of Illustrator.
03:06In this case, it's a 728x90 leaderboard. I will go ahead and I will choose
03:10that option and I could also choose to import any unused symbols. For example,
03:14I might have some symbols that I defined inside of Illustrator which are saved
03:18to my Symbols panel, but that don't appear on the artboard itself. I may want
03:22to be able to use those symbols here inside of Flash. So I will go ahead and I
03:25will check that option.
03:26Now let's simply click OK and all of my artwork is brought right here inside
03:30of Flash. You will notice that my stage now changed to the right dimension.
03:33I can click on these individual elements, for example right now on this
03:37particular logo. And if I go to my Properties panel, I will see that all the
03:41information is preserved. The same applies to all the other symbols that I created.
03:44In fact if I go ahead and now I double-click on this particular symbol to
03:47isolate it, I can actually select this text and see that with my Type tool
03:52I can go ahead and I can edit that text. In fact inside of Illustrator I already
03:55defined that as dynamic text and I have given an instance name. So all the
03:59information that I put into my artwork inside of Illustrator is all preserved
04:02now inside of Flash. Let me go ahead and exit the Isolation mode for these
04:05particular symbols and you will see here on the Timeline that all of my layers
04:09that I created inside of Illustrator are also preserved.
04:11So here is the way that I look at it using both Illustrator and Flash together.
04:15On an individual basis if you just need to bring some graphics in at one time or
04:18another, a simple copy and paste will do. But if you spend a few moments
04:21upfront planning your project, you can really take advantage of defining an
04:25entire file with layers and everything inside of Illustrator and bringing
04:28everything into Flash in one step. From this point it's simply a matter of
04:32adding some ActionScript and some interactivity and you are ready to go.
Collapse this transcript
The Save for Web & Devices dialog
00:00Of course with Illustrator you don't even need to go and use the Flash
00:04application in order to create a SWF file. You can actually save a SWF file
00:07directly out of Illustrator and publish it directly to the web. One way to do
00:11that is to use a feature called Save for Web & Devices. Now I know we have
00:14already used this to create GIF, JPG or PNG files out of Illustrator, but as we
00:19will soon see, you can also use it to create Flash files.
00:22I will go over to the File menu and I will choose Save for Web & Devices. In
00:26the resized window, just a little bit here to make it appear much nicer. Now I
00:30can see the banners directly on my screen.
00:32Now I am using the 2-Up version right here, so I am comparing the original
00:34banner with what I would like to see when it gets exported.
00:37So I come over here where I can choose different file formats and rather than
00:41GIF, JPG, or PNG, I will scroll down lower to where it says SWF. Now I will see
00:46a preview of what that looks like when it gets rendered as a SWF file.
00:49I also have several important settings that I can choose from here in this
00:52dialog box. First of all I can choose what version of Flash Player I want my
00:56graphic to be compatible with?
00:58Now Adobe publishes different versions of the Flash Player every once in a
01:00while. For example, currently the latest version is Flash Player 10. The newer
01:05the version of the Flash Player, the more capabilities it has. For example it
01:08might have better performance or the ability to playback video, so on and so
01:12forth. But it also means that a fewer people out on the Internet actually have
01:15that plug-in installed. So what you are always looking for is a happy median, a
01:19version of Flash Player that's compatible that most people have installed. I
01:23find that many people choose the Flash Player 8 version.
01:26You can also choose to have your entire Illustrator file converted to one
01:29static SWF file, or you can choose to convert your Illustrator layers to Flash
01:33frames. We will explore that option in another video when we talk about
01:36animation out of Illustrator. For now I will just choose Illustrator file to
01:40SWF file.
01:41I can choose to compress the file to make a little bit smaller. I can choose to
01:44protect it, this way other people now will take that SWF file and open it up
01:48inside of Flash to make changes to it. I also can convert any text in that
01:52particular file to outlines to ensure that my text appears correctly.
01:56Finally there are two options down here on the bottom. I can either choose to
01:59preserve Appearance or preserve Editability, and this is here because there are
02:03several constructs or things that you can create inside of Illustrator that may
02:07not translate perfectly into the world of Flash. So I could either have
02:11Illustrator preserve the editability, meaning I can make changes to it if I
02:14open up that file inside of Flash or since this is going right upon to the web,
02:18I might choose the Appearance option. In fact, take a close look at the text
02:22that appears right here in this button. Right now the text looks really nice.
02:26When I choose Editability, notice the text does not look that great at all. In
02:30this particular case here by choosing Appearance, it does look nicer, but that
02:34also means that this text will not be exported as live text, but rather will be
02:38converted to outlines to preserve its appearance.
02:40If I really want to see what this file looks like when it gets displayed inside
02:43of a web browser, I will come down here say for web dialog box and I will
02:47choose to Preview in Browser. In this way I see exactly what it's going to look
02:51like when rendered in a browser. Plus I also have access to the actual HTML
02:55content that I can copy and paste right into my webpage.
Collapse this transcript
Exporting SWF files
00:00When you create artwork inside of Illustrator and you then want to bring that
00:03into the Flash application, we've already discussed the best way to do that is
00:06to save your file out of Illustrator as a native Illustrator file. That's
00:10because Flash has the ability to parse all the information in that Illustrator
00:13file including layers, symbols, so on and so forth.
00:16However, when you have artwork inside of Illustrator that you just want to
00:19create a quick SWF out of, so that you can put it onto a website, we know that
00:22you can create a SWF file using Save for Web, you also have the ability to
00:26export your document as a SWF file. As we'll soon see, we have a ton of
00:30information and setting that we can choose from when we do that.
00:33So I have my banner that I've created, I have all my symbols, I have all my
00:36layers that I've created. I'm going to go to the File menu here. I'm going to
00:39choose Export and then from the Format popup, I'm going to choose to export my
00:44file using Flash or SWF.
00:46Now if I had multiple artboards in my document I could choose to use Artboards
00:50button and basically choose which of my artboards I want to export as a SWF.
00:54But in this document, I just have one artboard. That doesn't come into play
00:57here. I'll choose Export over here and I'll have a range of options, some of
01:01these we've already explored. For example, I can choose which version of Flash
01:04Player I want my Flash file to be compatible with.
01:07I also have the ability to convert my entire Illustrator file to a one static
01:10Flash file or I can convert my layers to a variety of different things. I can
01:14convert my Illustrator layers to Flash frames to Flash files. Those would be
01:18individual Flash files, or each of them can be converted to symbols. If I am
01:23using artboards I can convert each of those artboards to individual SWF files
01:27as well. I can choose to clip the contents of my Illustrator file to the size
01:30of my artboard, just to show you, you can see that in some of these cases here
01:34I actually have some artwork that extends without the boundary of the artboard.
01:37By choosing Clip to Artboard Size, I'm ensuring that my banner will actually
01:41export at the intended size. Let's take a look at some of the other options
01:44here. Preserving Appearance will make sure that anything that I create inside
01:47of Illustrator that is not directly compatible with Flash; for example, certain
01:51types of live text will all get converted to outlines that it appears correctly
01:55in the final SWF file.
01:56I can compress the file to make it smaller. I can include unused symbols in
02:00this file and I would probably only choose this option if I knew that I was
02:03then going to import this SWF into Flash itself to work with. I can export all
02:07of my text as outlines. I can choose to ignore kerning information for text. I
02:12can include any metadata in my file, by the way, that makes the file size grow somewhat.
02:16I can also choose to protect it from import by using a password. In other
02:19words, I don't have to worry about somebody opening up my SWF file inside of
02:22Flash and making changes to it. If I want a specific background color I could
02:25also choose that option here.
02:26If you thought these weren't enough options, well, take a look, there is a
02:29button here called Advanced. If I have any placed images inside of my file, I
02:33can choose to use a Lossy (JPEG) version to make a smaller compressed version
02:37of that file, which by the way results in a smaller SWF file overall or I can
02:41use Lossless compression.
02:42I can also set which resolution I want those images to be exported in. There
02:46are a variety of other settings here as well which only apply to when you work
02:49with animations out of Illustrator, which will deal within a separate movie.
02:52Just like in the Save for Web dialog box, you've a preview in browser option;
02:56here I can choose Web Preview. That automatically shows exactly what that SWF
02:59file is going to look like inside of a web browser. Let's go back to the dialog
03:03back here for a minute though.
03:04Admittedly, there is a lot of settings here when you export these SWF files.
03:07Having to go through each of these can be quite time-consuming. So it's nice to
03:11know that any time you could go ahead and choose Save Preset. In doing so,
03:14those presets will appear in this little popup list. That way if you have
03:17certain settings that you always use when exporting a SWF file, go ahead and
03:21save that as a preset and then moving forward, creating your SWF file is one
03:24click instead of many.
Collapse this transcript
11. Vector-Based Web Graphics: Creating a Flash Animation
Converting layers to frames
00:00Say you're a designer who is really comfortable creating artwork inside of
00:03Illustrator, but maybe not so much inside of Flash. Now if you want to create
00:06an animation, you don't have to worry about learning how to create that
00:10animation using Flash; you can actually export an interactive animated SWF file
00:14directly out of Illustrator.
00:15Now the first thing to realize about animations is that they usually require
00:19some timeline in the application, basically, specifying that objects should
00:23move over time. Applications like Flash or After Effects, for example, have
00:27timelines in them that help designers define movement. But here in Illustrator
00:31there is no timeline. But if we take a closer look at understanding what
00:34animation really is, we'll see that we can actually define movement inside of
00:37Illustrator without the use of a timeline.
00:39Now what exactly is an animation? Flash, the application, uses something called
00:44frame based animation. Basically, by having a whole bunch of individual frames
00:48and then playing back those frames very quickly, that appears as if something
00:51is moving. As we said, Illustrator doesn't really have any frames, but
00:55Illustrator does have layers. And what we can do inside of Illustrator is
00:59export a SWF file and in that process automatically convert all of our layers
01:04into frames. Doing so creates an animation.
01:07So the most important thing to realize when you're building a Flash animation
01:10inside of Illustrator is you want to make sure that you're paying close
01:13attention to how you structure the layers in your document. Now as you'll see
01:16in this example right here I have four different layers. I have a Background
01:19layer, a Surfer layer, the Groundswell logo is on its own layer and I also have
01:24this Sign Up button.
01:25Let me turn off all the layers here, for example. We'll find that that when we
01:29play animations out of Illustrator by default, the bottommost layers play
01:33first and then each additional layer that appears on top of that appears in
01:36successive motion.
01:37So when I play this animation back, I'll first see the Background layer appear.
01:41Then I'll see the Surfer layer appear, then the Groundswell and then
01:45finally the Sign Up one. So for example, if I wanted to create some kind of an
01:48animated banner, this might be a way to do that.
01:52To actually see this working, I'm going to go over here to choose File and then
01:55I'll choose Save for Web and Devices. Let me resize my window just a little bit
02:00so I can see them stack on top of each other. For the bottom option right here
02:03I'm going to choose SWF for my Export format.
02:06Now rather than convert my entire Illustrator file to one overall SWF file,
02:10I'm going to choose this option. Convert my Illustrator layers to Flash frames,
02:14which in effect creates an animation. I can specify that that animation loops,
02:19meaning it just repeats itself over and over again.
02:21I'm also going to set my frame rate right now to 1 second. That means that each
02:25frame is going to be on my screen for one second. I'm doing this purposely
02:28because I want to be able to slow it down so we can see exactly what's
02:30happening here.
02:31I use the Preview in Browser feature over here and now let's see exactly how
02:34that animation plays. I'll see first the Background, then the Surfer layer,
02:39the Groundswell logo and then the button that appears there.
02:42What's important to note about how Illustrator is doing this is that right now
02:45each of the layers are basically appearing and then completely disappearing. So
02:49if I have some elements, for example, on the Background, if I want that
02:52Background layer to appear in every single frame of my animation, I would need
02:57to actually duplicate that exact background and copy it to all the four layers in
03:01my document.
03:02But don't worry about it. We're just here in the beginning talking about how
03:04we're creating an animation inside of Illustrator. We'll soon find other ways
03:08to be more efficient when we build our animations.
03:10Now that we understand how important layers are inside of Illustrator, we can
03:14start to think of other ways to make our animations even better.
Collapse this transcript
Working with blends
00:00So we know that in Illustrator, in order to create what looks like an
00:03animation, we need to have frames and we can basically take our layers and turn
00:07those into frames. However, there is yet another way to create frames for an
00:11animation and that's using a feature inside of Illustrator called Blends.
00:14I actually find that somewhat ironic because blends predate gradients.
00:18Back in the day when Illustrator first came out and you wanted to create a gradation
00:21of color, say from yellow to blue, you would take a yellow and a blue object
00:26and blend them into each other.
00:28Now when creating interactive content for the web, we can use that same Blend
00:31feature to create an animation. Let's take a look at how that's done. I'm going
00:35to take this shape right over here, which is right now a symbol, this surfer
00:38dude. I'm going to hold down the Option key or the Alt key on Windows and
00:41create a copy and drag it somewhere over here.
00:44So now I have two of these particular symbol instances. I'm going to hold down
00:48the Shift key and now I'm going to click to select both of them. So now I have
00:51both instances, the one over here and the one over here selected. I'm going to
00:55go to the Object menu, I'm going to choose Blend and then I'm going to choose Make.
01:00In doing so, Illustrator automatically adds the individual steps that appear
01:04between these two shapes. If you're using Flash, you may know of a term called
01:09a tween. Basically, these are the steps that appear in between the start and
01:13the end point of a blend. In this way, I can easily establish the points that I
01:17need in order to create an animation inside of Illustrator.
01:20Now, once I've created by blend, there are a couple of things that I can do
01:22with it. For example, I have the ability to go to the Object menu here and I'll
01:27choose Blend and I'll choose Blend Options. Now it's important to realize that
01:31a Blend itself is made up of three separate objects. I have the start object,
01:35the end object and then a line that gets created automatically. That line is
01:39what we refer to as the spine of the blend.
01:41Basically, Illustrator makes sure that the artwork follows along the path as it
01:45creates the blend. Now right over here where it says Spacing, it's set right
01:49now to Smooth Color. But I can change that and choose Specified Steps. For
01:53example, say I want that to be ten steps of my blend.
01:56Now in the case of working with Illustrator and creating animations, the more
02:00steps that I create, the smoother my animation will be. But at the same time it
02:03could slow down performance and how that plays back on a computer screen.
02:07Since I'm working with symbols here inside of Illustrator, I really don't have
02:10to worry about adding to file size but just by adding more steps. I'll go ahead
02:14and I'll click OK. Now as you can see, the surfer basically is going to start
02:17from this point and then slowly animate towards this side of the banner.
02:20But I want to make it look like there is some motion in the waves here. Let's
02:23make the surfer kind of bobbing up and down on the waves. So what I can do
02:27inside of Illustrator with a blend is rather than using just a straight line, I
02:30could actually substitute that straight line for a curve line.
02:33In fact, in this file over here if I open up the Surfer layer, I can see that
02:37there is a path here which I've turned off basically. I'm going to turn that on
02:40right on and you can see the path that I created right over here. I use my
02:44Regular Selection tool to select that path and I'll hold down the Shift key to
02:47select the blend.
02:49With those two objects selected, I can choose Object > Blend, and then I could
02:54choose Replace Spine. In doing so you can see that right now this surfer
02:58follows that path that I just used.
03:01At this point, we have created a blend but we haven't turned them into layers yet.
03:04But now that you know how to create your blends, you understand the basic
03:07functionality of creating animation inside of Illustrator.
Collapse this transcript
Releasing to layers
00:00So we have created a Blend here inside of Illustrator, but what we haven't done
00:03is converted them to layers, so that they will actually be animated when we
00:06export the file.
00:07So how do I get this Blend that has all these steps in it to turn into a whole
00:10bunch of layers? I don't want to use a manual process. I don't want to have to
00:14expand the Blend and then basically take each of these individual objects,
00:17create a whole bunch of layers, and add them manually to those layers. Instead,
00:21I will use a feature inside of Illustrator called Release to Layers.
00:24I will show you what I mean. What I am going to do is I am actually going to
00:27take the Blend and turn them into layers but without touching any artwork on my page.
00:31I am going to come over here to the Layers panel and in the Surfer layer. I am
00:34going to click on the word Blend. By selecting the Blend in this way, I have
00:38basically selected the Blend layers but I have not touched any artwork on the
00:41screen itself. The function called Release to Layers applies to the Layers
00:44panel and not to the artwork itself.
00:46So with the Blend highlighted, I am now going to come to the flyout menu of the
00:50Layers panel, I am going to choose an option called Release to Layers.
00:53Now, Release to Layers comes in two different flavors: Sequence and Build. The
00:58Build option basically adds each of the surfers one after the other. However,
01:02Sequence will make it appear as if he is moving across the screen.
01:04So I will choose the Release to Layers (Sequence) option, and you will see
01:07right away that Illustrator created all these layers for me. It basically broke
01:11apart the Blend for me and put them on to layers.
01:13So now I am ready to see the animation. I go to the File menu. I will choose
01:17Save for Web & Devices. I will choose SWF for File Format, and I will make sure
01:22that my layers are being converted to SWF frames.
01:24Let's change my Frame Rate to something smaller, like 3 Frames per Second. Then
01:27I will go ahead and I will choose to Preview in Browser. Here you can see that
01:31that Blend now got turned into an animation. You will also notice by the way
01:34that the surfer is going backwards.
01:36Let's take a look at how we can correct that. I am going to have it come back
01:39into Illustrator; let's Cancel out of Save for Web. I am going to press Undo
01:42once to go back right before I applied the Release to Layers command. I will
01:46simply come over here and select the Blend one more time. I go to the Object
01:49menu, and I will choose Blend, and then I will choose Reverse Front to Back. In
01:54this case I have now basically told the Blend to go in the other direction.
01:57Rather than ask to repeat the steps that I just showed you before, let me show
02:01you yet another way that you can actually convert a Blend into an animation.
02:05The beauty of the method that I am about to show you right now is that it does
02:07not require you to expand the Blend at all. So we are not going to use the
02:10Release to Layers feature. In doing so, I will always have a live Blend that I
02:14can work with. So not if, but when my client request changes, I can easily make
02:18those changes.
02:19Let me deselect my artwork here, and rather than choose the Save for Web
02:23command, I am going to go to the File menu, and I will choose Export. From this
02:27menu where it says Format, I am going to choose Flash or SWF, and I will choose
02:31to export that and I get this dialog box.
02:34Here I can choose to export my file, not only as a regular static Flash file,
02:38but I can convert all of my layers to SWF frames.
02:41I will also Clip my artwork to the Artboard Size, and I will click on the
02:44Advanced button. Because I have specified that I want to turn my layers into
02:48frames, there are many different options now available specifically for
02:51animation that I can adjust.
02:53For example, for Frame Rate, I am going to go ahead and change that to 4 Frames
02:55Per Second. I will set the animation to Loop, and take a look at this option,
03:00Animate Blends. That basically tells Illustrator, hey, whenever you find a
03:03Blend, just simply go in and animate it, and in this regard, I don't need to
03:08manually release them to layers. I will choose to animate this in sequence, and
03:12now I will click on the Web Preview to see what that looks like.
03:14So now you can see that I have actually converted my Blend into an animation.
03:18I have also reversed it, so that now the surfer is going in the correct
03:20direction, and I have created all the elements that I need to create a really
03:24cool Flash animation inside of Illustrator.
03:26However, there are a few things still missing. First of all, for example,
03:29notice how it rotates between all the different layers. I really would like
03:32that Background layer to appear in every single frame of my animation.
03:35Likewise, I also will need to adjust the timing of this animation. But don't
03:39worry. That will all come in due time. For now, you have the elements that you
03:42need to create the animation that you want.
Collapse this transcript
Defining static layers
00:00So in this file that I have right here, which I am trying to turn into an
00:02animated banner, it does have a blend. So I will get the surfer dude that's
00:06starts in the left side and then runs across the screen towards the right.
00:09It also goes from 0% Opacity to 100% Opacity in the process.
00:13However, each of my layers in my file are playing in successive order. But that
00:17means my background layers plays first and then it switches to the surfer and
00:21during the surfer the background is no longer visible. Same thing applies to all the other layers.
00:25So what I really want to do is I want to be able to have certain layers that
00:28are visible in every single frame of my animation. In Illustrator you can do
00:32that by defining what's called Static Layers. Now the only way to do this is
00:36when you export a file as a SWF, so you can't do this to Save for Web method.
00:40So what I will do is I will start by going to File menu and I will choose
00:44Export. I will choose for my Format to use the Flash or SWF format. I will
00:49choose Export here and the first thing I will do is I will choose to Export my
00:52file as layers which are then can be converted to Flash frames.
00:56I want to Clip to Artboard size and I will switch now to the Advanced settings
01:01and I will make sure that my Frame Rate, let's low it down a little bit to
01:03about 3 frames per second. Again, just to really see what's happening here I
01:07want to loop that animation, remember I want to animate my Blends also In
01:11Sequence, but take a look over here. I also have a setting here called Export
01:14Static Layers.
01:15If I click on that option right here, you will see that I can highlight some of
01:18these layers, any layer that I have highlighted becomes visible in every single
01:23frame of my animation and I can have more than one layer specified as well. For
01:27example, say I always want the Background and also the Groundswell logo to be
01:31visible in all the layers. I will hold on the Command key; I am on a Mac here,
01:34but if you are on Windows, hold down the Ctrl key and then click on the
01:37Groundswell layer as well.
01:38So with these two layers selected I will now go ahead and choose Web Preview.
01:42And take a look at this the Groundswell logo as well as the Background are
01:46visible in every frame.
01:47So now I am getting much closer to what I really want to see inside of my
01:50animation. What I want is I want the surfer to kind of fly across the screen or
01:53I should say surf across the screen and then I want the logo in the far
01:57left-hand corner to appear, so that people can sign up.
02:00So now I have the animation working just the way that I want and again I can
02:03only do this by exporting my files as SWF files. I cannot do this through the
02:07Save for Web dialog, because the SWF Export is the only location inside of
02:11Illustrator where I can access settings for defining Static Layers.
02:15In reality I sure wish it would be easy enough to simply go to the Layers panel
02:18click on a layer and turn on the setting directing the Layers panel, but at
02:21least here you now know how to create these static layers. At this point though
02:25there is really one thing that's missing and that's timing. I mean the surfer
02:28surfs across the screen really nice, but there is really no time for me to look
02:31at that particular logo as it simply passes by. But now that we have strong
02:35grasp on how to define our layers as Static Layers, we can easily see that we
02:39can create really cool animated Flash content directly out of Illustrator.
Collapse this transcript
Adjusting timing
00:00One of the most important aspects of creating a great animation is getting the
00:03timing just right. Now, here is a big challenge inside of Illustrator.
00:07We already kind of jumped through hoops to find a way to find frames inside of
00:11Illustrator. We turned our layers into frames. Great! But there is no such
00:15thing as timing inside of Illustrator at any level whatsoever. So we are kind
00:19of up against the wall over here. We don't know have a Timeline. We are making
00:21believe that our layers are frames, and now we are faced with this timing issue.
00:25Well, the tip that I am about to share with you right now is kind of a hack.
00:28It's a way for you to simulate timing inside of Illustrator. But I will be
00:32honest with you upfront that if you find yourself struggling with trying to get
00:35timing to be just right inside of Illustrator, that might be a sign that it's
00:39time for you to start learning how to use Flash.
00:40Of course here at lynda.com you have plenty of resources to learn that
00:44application, but for now let's see how to do, what I would call a poor man's
00:48timing implementation inside of Illustrator.
00:51So we already know that when I go ahead and I export my SWF file out of
00:54Illustrator, I am going to be specifying my Background layer and my Groundswell
00:58layer, aesthetic layers. Meaning that those layers will appear on every single
01:01frame in the animation.
01:02Likewise, the Surfer layer currently has a Blend inside of it, and that Blend
01:06will automatically animate whenever that layer plays. But what I really like to
01:10happen though is that as soon as that SIGN UP! Button appears, I would like
01:13that to kind of pause for a little bit; obviously to give some time for those
01:16people to click on that button and do something.
01:18So if you think about it, what I really what to happen here is I want each of
01:21these layers to play; first the Background layer, then the Surfer layer, then
01:25the Groundswell layer; these being static of course. Because I have my settings
01:29sets to about 3 Frames Per Second, each of those particular layers will stay on
01:33screen for that amount of time.
01:35So what I really want is, though, that for this one particular layer to stay on
01:38screen longer. Because I can't specify a timing for one layer, what I can do is
01:43fool Illustrator to thinking that that layer is there longer by actually
01:47duplicating that layer.
01:48So what I will do is I will take this entire layer as it is here and drag it
01:51directly to this button on the bottom here, to actually duplicate that layer.
01:55Now I have a layer called SIGN UP copy. I will do the same thing about three
01:58or four times.
01:59So now if you think about it, even though these layers will be playing in
02:05succession, one right after each other, since they are all the same, it appears
02:09to the user as if it's just pausing at that point.
02:11Now let's go ahead and export the animation and see what that looks like. I am
02:14going to the File menu, we will choose Export, again we will choose Flash or
02:19SWF for our Export format. We will convert our Illustrator file with our layers
02:25into Flash frames. We will Clip to Artboard Size. Let's jump over to Advanced.
02:29We will make sure that our Frame Rate; let's crank it up to around 5 Frames Per
02:33Seconds so that moves just a little bit faster. We will go ahead and we will
02:35choose Looping. We will animate the Blends in sequence, and we want to Export
02:39Static Layers, just the Background and the Groundswell layer.
02:43Now, let's go ahead and turn on our Preview. So we see that the surfer kinds of
02:46flies across the screen and the logo actually appears for a little bit longer.
02:50So now we are actually able to simulate timing inside of Illustrator, even
02:54though we really haven't had any timing settings at all to work with.
02:58Now like I said before, when you are working inside of Illustrator and you
03:01really want to get timing to be just perfect in a certain area, that may be
03:04time for you to start learning Flash, and based on information we have learned
03:08in this title so far, you can easily take the artwork that you created inside
03:11of Illustrator, and then just bring it in Flash to get all your timing and
03:14animation correct.
Collapse this transcript
12. Vector-Based Web Graphics: Working with Other Applications
Working with Photoshop
00:00I believe that one of the greatest things about working with Illustrators,
00:03specifically in web design is that no matter how you need to deliver your
00:06graphics, you always have other applications that work well with Illustrator.
00:10And what it also means is that if you create your graphic inside of
00:12Illustrator, you are secure and knowing that if you ever need to deliver your
00:15graphics to other developers or other designers, no matter what application it
00:19is they are using, you will still be able to deliver that stuff to them in
00:21a meaningful way.
00:22For example, let's take Photoshop. Photoshop is a very popular web design
00:26application. But throughout this title we have already seen so many different
00:29ways that we can take advantage of the benefits of using Illustrator. Well, if
00:33the next step in your workflow is to take your artwork into Photoshop, here is
00:36the best way you have to do it.
00:37I already have all my layers created, I have text in my file, I have slices
00:40that I have created. And what I would like to do is just bring this as it is
00:43right into Photoshop. The best way to do that is to go to the File menu and to
00:47choose Export and from the Format pop- up list choose Photoshop .psd. I will
00:53throw this on my desktop over here and I will just choose to export this. And
00:56a dialog box will appear asking me for options of how I want that psd file to be
01:00created. Now since this is for the web, I can set it out to be Screen
01:03resolution and rather than write out a flat image, I want to write my layers.
01:07That will preserve all of my Illustrator layers and covert them to psd layers.
01:11In addition I will also check these two boxes: Preserve Text Editability, which
01:15will make the text editable inside of Photoshop, and Maximum Editability.
01:19This setting will actually preserve things like slices, transparency, masks, so on and so forth.
01:24So I will go ahead and I will click OK. Sometimes you may see this dialog box
01:28appear. It says Some containers in the Illustrator document have been
01:31flattened. That usually happens when there is a construct or some kind of issue
01:35with the stacking inside of Illustrator that forces certain layers to be
01:38combined. I will click OK over here and now after that Photoshop file gets
01:43written, I will switch over to Photoshop. Let me open up the file here inside
01:46of Photoshop and I will choose to take that psd file that I just wrote out of
01:49Illustrator and open it up right here.
01:51First if you take a look at Layers panel, you will see that all of my
01:54Illustrator layers came in and that Live Text also came in as well. I will also
01:58go ahead to the View menu and I will choose Show and then I will turn on
02:01Slices. And you will see that the Slices that are defined and created inside of
02:04Illustrator come into Photoshop as well. So whether you are delivering your
02:08content directly from the Illustrator to the eeb or you are bringing your
02:10artwork into Photoshop, exporting your file as a Photoshop psd file from
02:14Illustrator is certainly the way to go.
Collapse this transcript
Working with Acrobat Pro
00:00Adobe PDF is an extremely popular way to move documents around, especially so
00:04on the web. And even more so, PDF files can be interactive. Now unfortunately,
00:10Illustrator itself does not have the capability to author interactive PDF files
00:13like say InDesign can. However, it's really easy to add some basic
00:17functionality directly inside of Acrobat.
00:19To do so, start off inside of Illustrator with your design, go to the File menu
00:23and then choose Save As and for the File Format choose Adobe PDF. I will put
00:28this on my Desktop and I will choose Save. A dialog box appears asking me how I
00:33want to save my particular document. I could choose this option here called
00:36Smallest File Size. In doing so it will actually make sure that it's set to the
00:40screen resolution and that I can easily email this or post this up on the web
00:44for people to easily download.
00:46I can also choose a few other interesting options. I can choose over here, from
00:49Compatibility, to choose a later version of Acrobat. Let's do Acrobat 8 for
00:53example. That just means that I will have more capabilities or things that
00:56I can do to that PDF file once I bring it into Acrobat.
00:58I will also choose View PDF after Saving. That will actually open up Acrobat
01:03and open up the file in Acrobat for me to work with. And I can even choose this
01:06option here, Create Acrobat Layers from Top-Level Layers. I will show you in a
01:10moment how important that can be.
01:12Now let's choose the Save the PDF file. I will click OK at this dialog box just
01:15letting Illustrator know that I really don't want to preserve the Illustrator
01:18editing capabilities of this file. And here we are inside of Acrobat.
01:21First of all, take a look over here on the left side. There is a button here
01:24that allows me to access all the layers of my file. Here, I can actually see
01:27that I can turn these particular layers on and off. This could be useful if I
01:30want to show my client different possible design ideas. The layers actually
01:34show up and you can interact with them even in the free Adobe Reader.
01:37But for now, let's add some simple interactivity to this document. For example,
01:41maybe when I click on this Groundswell logo I want it to be able to direct me
01:44to a website. I can move over here to the Tools menu. I will choose Advanced
01:48Editing and then choose the Button tool. Here I will simply click over to
01:52create a button. I can also resize that button as well to make it big enough to
01:55cover the entire logo. I will double- click on the button so that I can change
01:59its settings.
02:00First of all the Form Field itself, I would like that to be hidden. I don't
02:03want to see the particular button that's there and for its Appearance,
02:06I could set both the Border Color and the Fill Color to none. Underneath Actions,
02:10I will set it to that whenever a person clicks on it and releases the mouse,
02:14it should execute not a menu item, but it should open up a web link, and I could
02:18choose what that web link should be.
02:19For example, over here I will type in an URL to go to lynda.com. I will click
02:24OK and I will close and just like that I was able to add some interactivity to
02:28my PDF file.
02:29One really cool thing about Acrobat 9.0 is that you can also add multimedia to
02:33your documents. For example, where it says over here Flash tool, I could
02:36actually click-and-drag and place Flash content directly into my PDF document.
02:41This allows others to be able to open up a PDF file and see Flash content
02:44playing directly inside of that window.
02:46So while you may not think of PDF as web graphics format, it certainly can be a
02:51great medium for you to deliver contents across the web.
Collapse this transcript
Working with Dreamweaver
00:00One of the most popular development tools for working with websites is Adobe
00:03Dreamweaver. A favorite of web developers, Dreamweaver allows you to manage
00:07entire websites. Not just one page or one graphic, but an entire website.
00:12However, you may still need Illustrator to deliver some of those graphics.
00:15After all Dreamweaver is a Layout tool. It's doesn't allow you to create the graphics.
00:19Now what just still happens to be that Photoshop and Dreamweaver enjoy a
00:22certain amount of synergy where you can create a smart object inside of
00:25Dreamweaver and then easily update that graphic back inside of Photoshop when needed.
00:30Unfortunately that synergy does not exist between Dreamweaver and Illustrator.
00:35However, you can of course take anything from Illustrator and bring that into
00:38Photoshop as we have discussed before. And in addition when it comes to
00:41actually to laying out a web page you can actually create an HTML page that has
00:45some CSS inside of it to help you get started with Dreamweaver.
00:48So let's explore what that looks like. In this document, I will actually turn
00:52off all these layers here and I will just turn on the Dimensions and the Slices
00:55layer. Now I will go to the File menu and I will choose Save for Web & Devices.
01:00I don't really care what each of these particular slices are being exported as.
01:03Those are just going to be placeholders for whatever I am going to put into
01:06them when I bring them into Dreamweaver.
01:08But by defining a grid as designer I can lay things out inside of Illustrator
01:12and then instead of starting from scratch inside of Dreamweaver, I can have a
01:15great starting point based on what I have already inside of Illustrator. So I
01:18will choose Save and I will throw this on my Desktop here.
01:22I want to create both HTML and Images and I also want to make sure that the
01:27slices I choose is All Slices. Finally, I am going to come here to where it
01:31says Settings and I am going to choose Other. I want to create an XHTML file
01:35and I am going to choose over here where it says Slices and rather than
01:38generate a table I am going to Generate CSS.
01:41Now I will click OK and then I will choose Save. Now let's trump over to
01:46Dreamweaver. I will choose to open up that file. I will go to my Desktop here
01:50and choose surf_website_final.html and open up right up here inside of
01:55Dreamweaver. You can see that all those areas came in, but more importantly if
01:59I go to Code view right now, you will see that because I exported this as CSS,
02:03all the areas got defined as divs.
02:05So as you can see I created a modern CSS-based layout using Illustrator and
02:10then quickly brought it into Dreamweaver to get started with my web layout.
Collapse this transcript
Working with Flash Catalyst
00:00So throughout the entire title, we've seen that Adobe really has been striving
00:03to make the process, at least the way that designers and developers can
00:07communicate with each other that much better. We know we can take art from
00:10Illustrator and bring it into Flash. We know that we can also take artwork from
00:14Illustrator bring it into Photoshop and Dreamweaver.
00:17What I am about to show you though is taking you to the next level. Recently,
00:20Adobe announced the brand new application. Something called the Adobe Flash
00:24Catalyst. At a very basic level, Flash Catalyst is a graphical user interface
00:29built on top of the Flex framework.
00:31Flash Catalyst allows you to create your artwork in any of the applications
00:34that you already know how to use. For example, Illustrator or Photoshop, or
00:37even Fireworks. But then to bring them directly into an application that
00:40convert them to what Adobe refers to as Rich Internet Applications;
00:44it's the next generation of web design.
00:46To aid in this process, Adobe actually created a new interchange file format.
00:50Something which is called FXG and you will notice that if you go to the File
00:53menu, you will see that if we choose Save As, one of the file formats that you
00:57can choose is something called FXG, which stands for Flash XML Graphic.
01:02By exporting your file in this particular format, you can bring your artwork
01:05into Flex Builder or into Flash Catalyst, but really introducing just the new
01:09file interchange format doesn't really change much. I mean after all, a
01:13designer still needs to learn to all these technical details and all these
01:15different file formats.
01:17So instead, let's take a look at how Flash Catalyst and Illustrator work
01:20together to remove this divide. I will click Cancel here. And we are just going
01:24to simply take this artwork selected inside of Illustrator and I will copy it.
01:28Now I will switch over to Adobe Flash Catalyst. I want to create a new Flash
01:32Catalyst project. I am just going to use the regular 800x600 setting right
01:36here, and I will click OK.
01:38Now I will simply choose Edit, and then I will choose Paste and that graphic
01:42from Illustrator comes right here on my artboard. Now you may be thinking,
01:46what's so special about that? You can copy and paste from Illustrator into
01:49Flash, you can copy and paste from Illustrator into Fireworks, even into
01:52Photoshop, as Smart Objects.
01:54Well, here is the key thing. When I pasted this into Flash Catalyst, what
01:58really happened is that behind the scenes Flash Catalyst turned that artwork
02:02into Flex code. In fact, take a look. When I go over here to where it says
02:05Design. And I am going to switch to the Code view. Much like in Dreamweaver,
02:09you can design HTML pages in a visual way but behind the scenes all the code
02:13gets written for you.
02:15Well from a graphic standpoint, what I have done is I have actually drawn
02:18something inside of Illustrator, and simply by copying and pasting into
02:21Catalyst, Catalyst now converted it into Flex code for me. That means the
02:25developers can go right in and start making changes to my graphic or add into
02:29interactivity. Even better yet, I can add my own interactivity.
02:32Let me choose to go back to my Design view. I will actually click on that piece
02:36of artwork right here and a little pop- up shows over here which is referred to
02:39as the HUD or the head up display. I can convert that artwork to a component,
02:44for example, a button. With one click of a button, I have just created a
02:47button. I can double-click on the button over here and I can actually specify
02:51Up, Over, Down, and Disabled states.
02:53Let me double-click over here for a second here and go back to my piece of
02:56artwork. Here is the key thing about what's happening here. Even though this
02:59piece artwork right here has been converted to Flex code or MXML, I can go over
03:04here to the Modify menu and choose Edit in Illustrator CS4. This actually takes
03:09this piece of artwork and brings it back into illustrator. So if I want to make
03:13changes to the artwork, even though it's really been converted to code, I have
03:16the ability to work in my own familiar design environment, Adobe Illustrator.
03:19So let me zoom in on this for a second here, and instead of using this blue
03:23color, let's change this to something else. I will go to the Color panel here,
03:27maybe we will choose let's say a yellow color. No, let's choose the bright
03:31green instead. So now I have edited it, I'll save that file. I am going to save it.
03:34 Notice it automatically saves it in that interchange format called FXG.
03:38I click OK.
03:39I close the file, return back to Flash Catalyst, choose Accept the Changes and
03:44automatically, the button that I have created now gets updated.
03:47Remember it's still coded right now. It already is a button, but I have already
03:51managed to edit that back inside of Illustrator. This is just a peek at some of
03:54the things that you can now start to do between Illustrator and Catalyst in
03:58this way, but it's certainly exciting to see how things are going to be down
04:01the line in the future.
Collapse this transcript
Conclusion
Goodbye
00:00Thanks for taking the time to learn all about using Illustrator to create web
00:04graphics. Whether you are creating entire websites, whether you are creating
00:07just individual web graphics here and there, whether you are a dedicated web
00:10designer or just a general graphic designer that needs to create things once in
00:13a while, you should give yourself a pat on the back.
00:15I mean after all, you now have all the knowledge that you need to create these
00:19wonderful web graphics using Illustrator. More importantly, you see exactly
00:22where Illustrator fits within the entire web workflow.
00:25Now that you have the knowledge that you need in order to get your web graphics
00:28done inside of illustrator, I will leave you with this last bit of advice.
00:32Have fun! I mean, after all, when you're having fun while you are learning, I am
00:35sure that you will find you'll be at your creative best. Thanks again and
00:39I will see you online.
Collapse this transcript


Suggested courses to watch next:

Illustrator CS5 New Features (2h 1m)
Mordy Golding


Web Site Strategy and Planning (1h 37m)
Jen Kramer

Illustrator CS5 Essential Training (10h 37m)
Mordy Golding


Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 98,466 instructional videos.

start free trial learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 1,893 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.


site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked