navigate site menu

Become a member and get unlimited access to every course in the library. Try it free for 7 days

Photoshop CS and Flash MX 2004 Integration

Photoshop CS and Flash MX 2004 Integration

with Michael Ninness

 


Photoshop CS and Flash MX 2004 Integration with Michael Ninness is a series of movie-based tutorials that teaches the most efficient methods for importing content created with Adobe Photoshop into Macromedia Flash, while maintaining as much of the original appearance and quality as possible. In addition, this title teaches you how to control the optimization settings in Flash for bitmap images when they are embedded inside an exported SWF file, including how to load external JPEGs into a Flash movie. Other topics include: saving layers as PNG files, exporting Illustrator files to SWF, preserving layer styles, and using the PSD2FLA Plug-in. This title was created using Adobe Photoshop CS and Macromedia Flash MX 2004, along with Adobe ImageReady CS, Adobe Illustrator CS, and Macromedia Fireworks MX 2004. Most of the training content in this title should work just fine in the earlier versions of either of these products, but be aware that some menu commands may be named differently or appear in different locations in the earlier versions.

show more

author
Michael Ninness
subject
Web
software
Flash Professional MX 2004, Photoshop CS
level
Intermediate
duration
2h 17m
released
Mar 07, 2005

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:00>>Hi there, my name is Michael Niness and I'm a senior user interface designer at Adobe systems.
00:05This title is a series of movie-based tutorials designed to show you the most efficient methods for importing content created with Adobe Photoshop
00:11into Macromedia Flash while maintaining as much of the original appearance as possible.
00:16In addition, this title also teaches you how to control the optimization settings in Flash for bitmap images
00:21when they are embedded inside an exported SWF file, including how to load external JPEGs into a Flash movie.
00:27While recording this title, I used Adobe PhotoShop CS and Macromedia Flash MX 2004 along with Adobe ImageReady CS, Adobe Illustrator CS,
00:35and Macromedia Fireworks 2004.
00:37Most of the training content in this title should work just fine in the earlier versions of either of these products,
00:42but please be aware that some menu commands may be named differently or may appear in different locations in earlier versions.
00:48I hope you enjoy the movies.
Collapse this transcript
1. PSD to Flash
basic importing
00:00>>Let's begin by taking a look at how Flash treats layered Photoshop files by default.
00:05What we've got here is a typical, layered Photoshop file opened in Photoshop, and this is just file number one in the Chapter 1 folder
00:12of your class files here.
00:14And you can see that in the Layers palette here I've broken up this document in several different layers.
00:19You can turn them on and off to see exactly the structure of this document.
00:22I've named my layers in an intelligent way so I know what layer is what and so forth.
00:26So, again, this is what it looks like in Photoshop.
00:29Let's jump over to Flash and take a look at how Flash will treat this document when we try to import it.
00:35I'm gonna go ahead and open from the Chapter 1 folder the 02_Photoshop_Start.FLA document.
00:42That's just a Flash file I've started for you to work with.
00:45We'll open that up, and to bring anything into Flash from an external file, we would use the Import command; and we will go ahead
00:51and import at this stage.
00:54There it is.
00:54There's the Photoshop document that we were just looking at in Photoshop.
00:57Let's go ahead and hit Open and this is what's going to happen, depending if you're on Mac or Windows.
01:03Since Flash doesn't recognize the file format, it's basically saying, "Hey, I don't know what the PSD is.
01:08Would you like me to try importing using QuickTime?"
01:11That's the first thing to really talk about.
01:12If you're on a Mac, QuickTime obviously is going to be installed automatically.
01:17If you're using a Windows machine, there's pretty good chance you've got QuickTime installed, but if you don't, you need to go to Apple.com
01:23and get the latest version of QuickTime installed.
01:26We're gonna go ahead and click Yes. What's going happen is if QuickTime is present on your machine,
01:32the composite version of this Photoshop document will be placed into Flash.
01:37Now what I mean by composite is that all of the layers have been flattened down into a single layer.
01:41And as I move this document around you see that's all I get.
01:44I can't get to the individual layers now to animate them or separate them or do whatever I want to them.
01:48It's important to repeat again that Flash is only bringing that composite file using the QuickTime plugin to be able to do that.
01:55Now, that is only going to happen if Photoshop's preferences have been set a certain way.
02:01Luckily the correct preference is the default setting, but just in case you've mucked with the settings, let's go take a look at that.
02:08So in Photoshop under Edit, Preferences, General, or on the Mac it would be under the Apple menu, but we'll go ahead
02:16and look in the general preferences.
02:18And down in the options for file handling, there's a feature here, an option here called Maximize Photoshop PSD File Compatibility;
02:29and we should make that to be "Always".
02:32I'm using Photoshop CS here, but in previous versions of Photoshop, this option was called many different things,
02:39but the basic premise here is whether to include that composite file in a layered Photoshop file.
02:46So if that is turned on in addition to having the layers, the file will save a flattened layered version of the document inside the file.
02:55And that's what QuickTime is actually using to place inside Flash.
02:59This is true for many other applications that are trying to deal with a Photoshop file; often times you get just the composite file.
03:06If this has been set to "Never", then that composite file is not saved with the Photoshop document and Flash would bring in nothing.
03:14Okay. So make sure your preferences are to change that to always so that composite file's always being saved in your layered Photoshop document.
03:23So bringing the layered file into Photoshop from the get go, all you get is the composite as long as QuickTime is installed.
03:30Let's go to the next chapter to see how we can start working around some of these issues and actually bringing in the specific layers independently.
Collapse this transcript
2. PSD to PNGs to Flash
saving layers as individual PNG files
00:00>>As we saw in Chapter 1, Flash can't bring in the individual layers of a layered Photoshop file, so we kind of have to help it out.
00:06We're going to do that by separating each layer out into it's own file and then bring those individual files into Flash.
00:15Now there's two different ways to do that from within Photoshop just using Photoshop by itself, and I'm going to show you both ways
00:22because each one has its own little nuances.
00:25Before we do that, I want to teach you how to walk through the Layers palette in Photoshop and actually learn how to view one layer at a time.
00:35So if you look in the Layers palette here, all my layers are visible. On Windows if you [Alt + Click], or on a Mac (Option + Click),
00:43on the eyeball of one layer, watch what happens.
00:46That will turn all the other layers off so you're just seeing that one layer isolated.
00:50If you [Alt + Click] or (Option + Click) again, it goes back and turns on the layers that were on previously, before that first Option + or Alt + Click.
00:58And that's a slight change.
01:00In Photoshop 7, it would toggle all layers on or off, whereas in Photoshop CS now, it just turns on the layers that were previously on.
01:09So that's a nice little change there.
01:11Now there's one other subtle difference to note here, if I [Alt + Click] to turn off this one layer, or turn all the other layers off
01:17and just view this one layer, I then want to go and view the next layer up by itself.
01:22So I'm going to hold down the Alt key again. A lot of people think to [Alt + Click] on the thumbnail of the layer to switch to the next layer,
01:30but watch what happens when I do that.
01:31That does turn this layer on, but it leaves the previous layer turned on as well, and so that's not what I wanted.
01:37I'm going to go back and turn this layer off, come back to this layer again.
01:41Instead of Alt + (or Option +) clicking on the layer thumbnail, Option + (or Alt +) Click on the actual layer name.
01:46And when you do that, you'll see that that turns that layer that you just clicked on, makes it visible, and turns off the previous layer.
01:54So again, Option + or Alt + Click on the layer name lets you cycle through the Layers palette one layer at a time.
02:01Okay, so that's kind of a nice trick.
02:04Now, with that in mind, you can see that I've isolated this one layer by itself and I now want to save this off as a separate document,
02:11a separate file with this layer in it.
02:14We need to choose a file format in order to do that.
02:16The only file format that's actually going to support that transparency in Flash is the PNG format or the PNG file.
02:24If we were to save this as a GIF or a JPEG, all the areas represented by the checker board here, meaning transparency, would turn to opaque white
02:31and that's not what we would want, of course.
02:33So two different ways to dup off this document or this layer into a separate document.
02:38The first way is to go to the Layers palette, and in the Layer Palette Options, is a command called Duplicate Layer.
02:46And by default this Duplicate Layer dialogue box thinks that you want to duplicate this layer in the same document,
02:52and of course we're going to do that to a new document instead.
02:55The reason I like this technique as opposed to the other one I'll show you in just a minute,
02:59is that the Duplicate Layer dialogue box reminds you the name of the layer that you're duplicating.
03:05And so you can use that as a reminder to name the new file the same.
03:11So we're going to go and give this a name.
03:13Now before I do that, let me tell you about one more thing you need to know about, the way Flash brings files in.
03:19Ideally, you're going to name this set of layers sequentially, so, you know, zero one, zero two, zero three, and then after the number,
03:27you'll give it some logical name, in this case the name of the layer.
03:30Now the way Flash brings in sequential files is, obviously, sequentially, so zero one, zero two, zero three.
03:38Flash thinks from bottom to top, so any file numbered one would be at the bottom of the layer stack when you bring it into Flash,
03:48and the higher numbers would be on top.
03:50And that may be a little bit different from what you're used to thinking.
03:53I know personally when I look at my Layers palette, I kind of reference it as top to bottom, a stack of layers with the top one being
04:01of course on the very top.
04:02So when I first started bringing these layered files out of Photoshop and bringing them into Flash, I kept getting confused because they were coming
04:10into Flash in the reverse order than I was used to.
04:12So the point being, start from the bottom, export each layer from the bottom going up, and so the bottom layer would be named number one.
04:22This might make more sense later on when I actually import these individual files into Flash, but it's just a warning for you,
04:29or a little tip there; think from bottom up.
04:31So we're going to name this "01_ -" and we could call it previous, but since this is kind of a navigation layer that I'm using
04:39for my mock-up here, I'm just going to call it "01_navigation".
04:43We click OK and that does indeed generate a second document with just that one layer inside it.
04:49Now again, we want that checkerboard area to remain transparent, so we'll go to File, Save As, and we'll choose the one file format
04:57that Flash is going to preserve that transparency with, and that's "ping", PNG.
05:00And you'll notice that because I already renamed my new document ahead of time, it automatically grabs that as the file name.
05:08We're going to go ahead and create a folder on the desktop here. We'll create a new folder and we'll just call this "Layers to PNGs", layers to PNGs.
05:17And we'll put our layers inside that document.
05:20So I'll hit Save, click OK for this options (it's not important), and there it is, that document is duplicated.
05:26So we'll go ahead and close that.
05:28Say no. So the next step is we'll Alt + or Option + Click on the name of the next layer to turn off the previous layer
05:37and just see this one layer isolated.
05:38So here's the shadows.
05:40And again, we'll go to the Layers Palette Options in the Layers palette, say Duplicate Layer to a new document,
05:47and we now know that this is layer 2_, and there slide shadows, so I could just copy and paste.
05:54I'll go ahead and do that- I'm lazy.
05:55Copy and paste, click OK.
05:59Again, we've duplicated this off to another document and then File, Save As, and choose PNG.
06:05Now I'm not going to bore you and do this for all 11 layers, but just, you know, once or twice to help jog your memory here.
06:11Again, it's saving it in our Layers to PNGs folder to the Layers folder, layer 01, this is now 02, click Save.
06:17The other option, kind of a different way to do the same thing, is to again, just turn on the layer that you want to see by itself, so again,
06:26we'll Alt + or Option + Click on the layer name, and if I do a file Save As here, without duplicating the layer to a separate file,
06:34one of your options in the Save As dialogue box is to turn off layers.
06:40When we turn off that Layers check box, that's going to not save all of the other layers in the document.
06:46It's only going to save this one layer in that file that you're generating here.
06:50Now, the down side of that is the file name is not picking up the layer name, so you'll have to remember to do that manually.
06:58Just kind of keep your eye over here on the Layers palette and see what layer you have currently selected.
07:03We'll go ahead and choose Layers to PNGs and then we'll go ahead and name this, choose PNG for our file format, and name it 03,
07:12and look over at our Layers palette and this is field.PNG.
07:19Also, you'll notice that when you choose this option, when you turn off layers, the As A Copy option is automatically turned on,
07:26and the difference here, Save As versus Save A Copy, when I click Save and click OK here, the original document is left open.
07:35The duplicated document is saved off and not left open on your screen here.
07:40So that's the advantage of this technique.
07:42When you do Save As and you're using save a copy it's a little bit quicker to go to the next version, you know,
07:49the next document that you need to create.
07:51Again, the key difference though is that it's not picking up the file name or the layer name.
07:55The other difference that's important to kind of know about this Save As way of doing it, if I go back and open that PNG file that we just created,
08:04you'll see that the layer name is just a generic layer zero, whereas if I'm actually using the technique by duplicating the layer
08:11through the Layers palette, the layer in that document that you're creating retains the original layer name, and if we remember to copy
08:18and paste the layer name into the file name, those two match.
08:21Okay? It might not seem like a big deal now, but later on when you want to go back and edit the documents, it's nice to have those things matching up,
08:28those names matching up.
08:30Okay. So again, I would go back and do this for all the layers in my layer document.
08:35We'll go ahead and stop now and just pretend that we've already done that.
08:39And in the next chapter we'll actually show how we bring in all those layered PNGs into Flash.
Collapse this transcript
importing PNGs into Flash
00:00>>So now that we've saved all of those layers out into separate files we're ready to start bringing the individual files into Flash.
00:05Now in your class files in Chapter 2, the PSD to PNGs to Flash, we'll go ahead and open that up, there's the Layers to PNGs folder that we created
00:13from the previous chapter there.
00:15And when I go into that folder, you see I've done this two different ways, bottom to top and top to bottom.
00:21This is just there for your reference in case you want to see the difference.
00:23I'll show you the difference in just a minute.
00:25Now, the most important thing, let's go over to Flash here, before we start bringing these documents in, we want to make sure that the canvas size,
00:35or the stage size, of the Flash document is the same size in pixel dimensions as the Photoshop mock-up that we were creating
00:42because we're going to create a new Flash document and the default size is 550 by 400 pixels.
00:49Let's go back over to Photoshop and just see what the dimensions are of this particular document.
00:55Now there's two ways to do that, the simple way is to go to Image, Image Size, and in the Image Size dialogue box it will show you
01:00that this is indeed 620 by 380 pixels.
01:04The other way is if you happen to have your Info palette open and visible, I'm just going to double-click on the Info tab to reveal it,
01:11doing a [Ctrl + A], or Select All, or (Command + A) on the Mac, tells you the width and height here as well without having to go up to the dialogue box.
01:18So it's 620 by 380.
01:20Great. We're now going to use that information back in Flash and we'll click on the size button in the Properties panel and we'll type in 620 by 380
01:31to have those matching dimensions.
01:35Now, the reason that's important is that when we bring the documents in, the PNG files that we've created,
01:40if the stage size in Flash is the exact same size as the documents we're bringing in, then things are going to register automatically for us,
01:48we won't have to reposition them once the documents are in the Flash document.
01:52So, now that the document and the stage sizes are corresponding, let's go and start bringing these things in.
01:58We'll go to File, Import, Import to Stage or Ctrl + or Command + R, and here's the two different versions, the bottom to top or the top to bottom.
02:07We'll go ahead and do the top to bottom, meaning I exported the top layer in the Photoshop Layers palette first and named that "01" and so on.
02:17And to bring files in sequentially, all you need to do is just select all of them, [Ctrl + A], and click Open and it's going to bring all
02:23of those files in at the same time.
02:25And there they are.
02:26Now, it comes in as one layer with all of these individual graphics on that particular layer.
02:32Now, I'll zoom up and you'll see a couple things wrong here.
02:37One, the bar at the top here, this black bar, it's covering up what actually used to say "Darkhorse Photography" here. Also,
02:44the shadow behind the slides here is actually on top.
02:48And this is what I mean by getting things reversed; by exporting the layers top to bottom, they end upcoming in in reverse in Flash.
02:57So this is just to illustrate that.
02:58That's probably not the way you want to do it, otherwise you're probably going to have to sit there and change the stacking order
03:02of all these particular graphics in Flash, which can be more time consuming than it needs to be.
03:06So what we're going to do is we're going to undo this and open up the original starting document that's already been sized to 620 by 380 for us.
03:17And we'll go to File, Import again, Import to Stage, and this time we'll navigate to the bottom to top folder, and again, the same files,
03:25just numbered a different way, saved from the bottom to the top.
03:29Select all of them again, click Open, and now you'll see when they come into the Flash stage they are indeed in the correct stacking order.
03:37Now, in order to be able to do anything with these particular files, these particular images, like say animate them or script them or whatever,
03:45each one of these would need to be turned into a movie clip and, ideally, put onto its own layer.
03:51So as I said before, all of these individual graphics, there's 11 of them, are all on the default layer one.
03:58What we want to do is distribute all of these particular images to their own layer, and luckily in Flash there's a great command
04:04that will actually just do that for us.
04:06So I'm going to do a Select All, [Ctrl + A], or (Command + A) on the Mac, and even though it doesn't look like there's more than one selected, it's
04:12because they're all stacked on top of each other.
04:14All 11 of these images are now selected.
04:17I can go to my Modify menu, to the Timeline submenu, and there's a command here called Distribute To Layers.
04:23I just remember the keyboard shortcut because it's a lot easier and it's [Ctrl + Shift + D] on Windows, or (Command + Shift + D) on the Mac.
04:29We'll go ahead and choose this menu command, and what's great here is that it automatically distributes all of those documents just like it said,
04:36all of those images to their own layer.
04:39And a nice little touch here is that the layer name picks up the file name of the imported graphic.
04:47And you can see what I mean now by top to bottom, zero one is at the bottom and the higher number is at the top.
04:53But because we kind of planned ahead and knew how Flash thought, everything's in the correct stacking order and the layers
05:00in Flash are now named the same as they were in Photoshop.
05:04So it's great how you do have an extra layer here, layer one, the original layer that had nothing in it,
05:08let's simply just delete that and there you go.
05:12A much easier way to bring in layered Photoshop files and retain their stacking order and retain their file names and so forth.
Collapse this transcript
3. PSD to ImageReady to SWF to Flash
basic SWF export from ImageReady
00:00>>When you install Photoshop CS, you also install ImageReady CS.
00:03And one of the features that was added to ImageReady CS was the ability to export to the Macromedia Flash or SWF file format.
00:11So here is the Photoshop document that we've been working with in previous chapters where the shadows are on their own layer,
00:19all shadows on one layer, and the text has been rasterized.
00:22Later on in some other movies in this chapter, I will talk about some other options here based on how the file is constructed, but for now,
00:30just a simple thing where everything's been rasterized.
00:32We want to take this over to ImageReady and do an export to SWF from that application.
00:37At the bottom of the Tools palette in Photoshop is what they call the Jump To icon, or Edit In ImageReady.
00:44And if you click on this button, that will take this Photoshop document and just launch ImageReady, if it's not already open,
00:49and put that document there.
00:50There's also a keyboard shortcut for it, the Jump To shortcut is either [Ctrl + Shift + M], or (Command + Shift + M) on the Mac.
00:57So let's go ahead and do that.
00:58We'll click that button and that switches us over to ImageReady.
01:02And it's as simple as going to File, Export and choosing Mac or Media Flash SWF, or SWF, and you get this dialogue box.
01:11You have a couple of options.
01:12First thing that we want to make sure of is under the bitmap options we decide what we want to do with the generated bitmaps
01:19that are going to be created.
01:21You can choose JPEG and choose a default quality setting for all of them.
01:25Again, one of the reasons why I don't like this particular option for a document like this is that you don't get the preview
01:31of what these JPEGs look like at this point in time.
01:35For this particular type of a document where you're dealing with layers and you care about the layer structure,
01:40you might actually want to choose what's called lossless 32 which is just a fancy name for PNG.
01:45But choosing lossless 32 means that you're choosing the PNG format which means they'll come in uncompressed. You can do per object compression
01:52in Flash on an individual basis by going to the library palette in Flash, double-clicking each individual bitmap that you want to customize
02:00and doing it in the bitmap properties dialogue there.
02:02So file format really important choice there.
02:05Preserve Appearance: if this is turned on, then any type layers will be rasterized if there's anything in the type layer that can't be preserved.
02:16And we'll talk about some of that later on.
02:18Preserving appearance is typically what you would check if you want the image to come in looking exactly like it did in ImageReady or Photoshop.
02:28You can choose the background color for the resulting SWF; since ours is going to be white, we're just going to leave it at the default.
02:34You can also choose to generate the containing HTML document, but since this is going into Flash, we're not going to do that right now.
02:39Let's go ahead and click OK and we'll give this a name, we'll just save it to the desktop here.
02:45Click Save.
02:46Great. It gives you a warning saying "Hey, since you chose preserve appearance, I may have had to have flattened one or more layers."
02:53You can choose to get rid of this dialogue box.
02:56Sometimes it's helpful just to keep it on just to let you know that something could have changed in terms of the layers structure.
03:01So go ahead and click OK.
03:03At this point we'll switch over to Flash and we'll Import, [Ctrl + R], or (Command + R), or File, Import, Import To Stage,
03:12and there's that file that we just exported.
03:14And we'll go ahead and click Open and there it is.
03:17It looks pretty good.
03:19The problem though is that since we chose Preserve Appearance, some things got flattened out, like that dialogue box told us, more,
03:26you know, into one layer.
03:27So we've lost the individual layers here.
03:30It looks exactly like it did in Photoshop, but certain things were flattened, squished into just a single layer.
03:38So let's see if we can improve upon that experience here.
03:40Let's go ahead and revert this file back to its starting point and we'll jump back over to ImageReady.
03:48We'll try the export again, Export Macromedia Flash.
03:52And this time we'll turn off Preserve Appearance just to see the difference.
03:55Go ahead and click OK and we'll just save over this other SWF file that we generated before.
04:00Let's go ahead and replace that.
04:03Again, let's jump back over to Flash and let's import that again.
04:07Import To Stage, and there's that same SWF file that we just replaced.
04:10We'll open it up, and now, since Preserve Appearance was turned off, you didn't get the flattening effect and each little slide here, slide map,
04:20is a separate file or separate layer that you can move around.
04:24So sometimes you just have to try it with Preserve Appearance and without Preserve Appearance checked to see
04:30if you like how the resulting structure is in the document.
04:33And then of course, if you do a Select All and go to your Timeline and say Modify Timeline, Distribute To Layers,
04:41you can have all of these objects end up on their own layer again.
04:43So that's just some basic importing from ImageReady to Flash by exporting a SWF file first.
04:52In the next movie we're going to talk about some of these issues about dealing with layer styles and vector type and keeping those editable as well.
Collapse this transcript
dealing with text
00:00>>So for this movie, we're going to actually look at this similar document, it's got basically the same content,
00:05but it's constructed just a little bit differently.
00:07So we're going to open up file number two from the Chapter 3 class files here, Photoshop Type and Styles.
00:13You'll see that the visual appearance of this document looks pretty much exactly the same, but you'll look over in the Layers palette and you'll see
00:19that I've got type layers for all the text.
00:21The black bar here is actually a shape layer, a vector shape layer.
00:26And all the slides actually have drop shadow layer effects applied to them.
00:31So again, just a little bit more complex of a document where things haven't been rasterized or flattened down.
00:37Let's go ahead and export this to Macromedia Flash from ImageReady here and take a look at what our options are going to be.
00:45Preserve Appearance is checked.
00:46Let's go ahead and take a look at what that's going to do.
00:48Again, we choose PNG or lossless 32 for the embedded bitmaps, and we'll go ahead and click OK.
00:53Let's go and just save this to the desktop and we'll write "Preserve", and this is just something for me to keep track of what option I chose here.
01:04We'll go ahead and hit Save, and again I get this dialogue box that says "Hey, since you have preserve appearance checked,
01:10something may have happened that you may not have expected, so we're going to warn you about that."
01:14Go ahead and click OK.
01:15Let's jump back over to Flash and we'll import that, [Ctrl + R] or (Command + R), and there's the document Photoshop type and styles preserve.SWF.
01:23Go ahead and click Open.
01:25And because we had Preserve turned on, we get this one big giant bitmap again.
01:32However, the text layer, since that was still a type layer, if we double-click on that, you'll see that the text is still individual text.
01:41Now unfortunately, every character is a separate text block here, and we'll talk about how to deal with that in just a minute
01:49because that's probably not what we want.
01:52It's still editable text, it's still vector text, but each character has become an individual text block here.
01:58So, let's revert this file back, File, Revert, and we'll jump back over to ImageReady.
02:05And this time we'll do an Export To Flash with Preserve Appearance not checked.
02:11Go ahead and click OK.
02:13And we'll just say "no preserve" for the file name here.
02:19Go ahead and save and now we'll jump back over to Flash again and import that, [Ctrl + R] or (Command + R). And there it is,
02:27"Photoshop type and styles no preserve", go ahead and click Open.
02:30And you'll see that while I have the individual slides coming in as separate objects, and the type is still type,
02:38I've lost the drop shadow because Preserve Appearance was unchecked.
02:43So there's two problems here, one, I want the text to come in, but I don't want the individual characters to become individual text blocks
02:50so how do I deal with that issue?
02:52And of course, I actually do want the effect of the drop shadow to come in, but I don't want this whole big bitmap,
02:59this whole big area to turn into one giant bitmap because I want to be able to animate each slide in separately or whatever.
03:06So let's go back and revert this file one more time.
03:12Jump back over to ImageReady and let's talk about a different way to construct this file.
03:16We're going to have to start making some choices here.
03:17First of all, let's talk about the type issue.
03:20For the type, what I didn't tell you before is that I've applied some tracking to each of these type layers.
03:26I've tracked this to a value of 60 to space out the letters here, and that's what's causing the individual characters
03:34to become individual text blocks in Flash.
03:36Unfortunately, each product has a different type rendering engine and while Flash does have the ability to do kerning and tracking,
03:44because they're not using the same text engine, the characters turn into individual letters.
03:48So what we're going to do is, if we care about the text being editable, do we want to be able to edit in Flash?
03:56Then we have to keep our text formatting options pretty basic in Photoshop and ImageReady.
04:00So I'm going to go ahead and select all these text layers, and through the ImageReady Layers palette here I've selected all of these,
04:13and I'm going to take the tracking back to zero to get rid of all that extra formatting.
04:19Now, if we decided that tracking is more important than the editability of that text, then what we should do is we can either rasterize the text here
04:29and turn it into a pixel layer instead of a type layer, and then the text will come in just fine.
04:35It will look exactly like it did in the previous application; it's just that you won't be able to edit the text directly in Flash anymore.
04:42Sometimes that's more important, the editability, and sometimes it's not as important, sometimes you just really care about what it looks like.
04:48So again, all we've done, is we've taken the tracking value and set it back to zero and let's go do an export here and see what the difference is.
04:56Go ahead and Preserve Appearance.
04:57Go ahead and click OK, and here I'm going to call this "no tracking.SWF".
05:05Go ahead and save that to the desktop.
05:08Again, we get that warning, let's jump back over to Flash and we'll import that document, that SWF file, we named "no tracking".
05:15Go ahead and click Open.
05:17So now, if we click on this type object here and we double-click on it to get inside it, you'll see that it is one text object where
05:27each letter has not been converted into an individual text character.
05:30And if I wanted to take the kerning or tracking back to the individual value, I could certainly do that now and really space that out.
05:38So again, the engine is a little bit different, so the 60 is the same as 6 in Flash.
05:42Sixty, it's actually not quite the same, but the concept is the same.
05:46Select all the text, choose a different value.
05:48The increments are different between Flash and Photoshop.
05:51But you see that I can go back and space that type back out.
05:54So again, that's just a small example.
05:56If you've done some complex text formatting, and you don't want to have to recreate that in Flash, then render the text as pixels in Photoshop
06:03or ImageReady before you export it to SWF.
06:06If editability is just more important, then take all of that complex formatting off the text and reapply it back in Flash.
06:14It just depends on what's more.
Collapse this transcript
preserving layer styles
00:00>>So as we saw in the previous movie, that we had these layer styles, the drop shadow layer styles, generating these drop shadow effects
00:08for these particular layers, so, I can turn that shadow on and off.
00:12When we chose the Preserve Appearance option, what ended up happening is these four slides ended up becoming one big bitmap.
00:21And what we're trying to accomplish is keeping each slide as an independent graphics that we can animate them separately.
00:27Now there's two ways to, to work around this issue, to basically end up having those slides come in independently,
00:33and the two choices that you have depend on what your end goal is.
00:37If, for some reason, you want the shadows themselves to be independent from the slides, so you can animate those separately let's say,
00:44that would be one method that I'll show you with that goal in mind.
00:50If you don't care about keeping the shadows separate from the slide, you just want the composite effect for each slide and its shadow
00:56to be a single graphic and then this slide and its shadow to be a single graphic, and so forth, that's a different method of work around.
01:04So we're going to address the keep the slide and the shadow together as one graphic first, and then I'll teach you about how
01:10to handle keeping the shadow separate.
01:12So let's do that.
01:13So let's select the mountain layer here.
01:16And I'm going to create a new layer, a new empty layer for the mountain layer here to merge it into.
01:23And by default, if you click the New Layer icon, that generates a new layer above the current layer.
01:29So that's actually not what we wanted for this particular work around.
01:32So I'm going to undo that, [Ctrl + Z] or (Command + Z) on the Mac.
01:35If you hold down the Ctrl key on Windows or the Command key on the Mac, and click the New Layer icon,
01:41what happens instead is the new layer gets generated underneath the active layer.
01:45So I'm going to select the previous layer, the mountain layer, and merge this.
01:50If I merge the mountain layer into a blank layer underneath it, the end result here is that it's like flattening the drop shadow
01:59into the actual slide layer here.
02:03The merge command is [Ctrl + E] or (Command + E) on the Mac. Unfortunately, the one bummer about this is that you lose your original layer name
02:10because whatever layer gets it merged into is the layer name that's retained.
02:15So we'll just go and double-click and rename that mountain.
02:19So we need to go do this for the other three layers as well.
02:21So again, we'll Ctrl + or Command + Click on the New Layer icon to generate a layer underneath the target layer, select the previous layer, merge it,
02:28[Ctrl + E], and rename it to the previous layer name.
02:34Select the fence layer, [Ctrl + Click] on the New Layer icon, select the top layer here, previous layer, merge it,
02:40Ctrl + or Command + E, and rename it fence.
02:43And we'll do this one more time to field.
02:46[Ctrl + Click], select the field layer, [Ctrl + E] or (Command + E) to merge it, and name it fence, or field.
02:54Now, one little point to make here is that if you need to be able to go back and re-edit those shadows at any point,
03:01you probably should have done a Save As first and save out the layered version before you start merging these layers down. Because
03:08of course once you've merged this, you've lost the ability to go back and edit that shadow independently.
03:12So as a general tip, just back this up before you start modifying your document like this.
03:18Okay, so we've got the shadows all merged into the respective slides and now we can go export this.
03:23So File, Export to Macromedia Flash.
03:27We're going to turn off Preserve Appearance because we've already handled the appearance issues ourselves and we'll go ahead and click OK,
03:34and we'll name this "Photoshop no layer styles.SWF".
03:42Go ahead and hit Save.
03:44Let's go back to Flash and we'll import that, Ctrl + or Command + R, and there's the SWF file that we created from ImageReady,
03:50"Photoshop no layer styles.SWF."
03:52Go ahead and click Open and you will see that each slide comes in independent and with the drop shadow included in that slide.
04:00Okay? Again, this would be important if, let's say, I wanted the slides to animate independently of each other.
04:06Okay. So let's revert that.
04:11Now part two of this, go back to ImageReady here, and we'll revert this file again.
04:18We said that part two was the ability where we want the shadows to be independent from the slides so that perhaps we could simulate a kind
04:28of a light source moving across the top of the image and as the light moved the shadow would want to move to mimic reality there.
04:35Because we have the Jump To button, we can just jump this same document back to Photoshop.
04:40We'll go ahead and do that.
04:42I'm going to preserve how the proof set up turned on, proof colors to make this look like the same it would in Flash.
04:49Now, these layer styles that we created, the drop shadow layer style, if we want to separate that drop shadow and do a separate layer,
04:59there's a command in Photoshop to allow us to do that.
05:01And if I (Ctrl + Click) on the Mac or right-click on the actual little layer style icon for getting a layer,
05:07and the contextual menu is a command here called create layer.
05:12And what that's going to do is separate that drop shadow into its own layer.
05:16Now, not all layer styles or layer effects will do this successfully, but some of the basic ones will, like shadow.
05:22We'll go ahead and click OK.
05:23And you'll see it now has created a separate layer called "mountains drop shadow" that can be turned on and off.
05:29Okay? We'll go back to the windmill layer and again, we'll right-click or (Ctrl + Click) and say Create Layer. And yes, thank you for the warning.
05:38We won't show that again.
05:39Go ahead and click OK.
05:40Same thing for the fence layer; right-click or (Ctrl + Click), Create Layer, and then for field, (Ctrl + Click) or right-click, Create Layer.
05:49All right.
05:51So now, each one of these shadows is a separate layer.
05:57We can now take this document back to ImageReady by doing the Jump To button and you'll see that the layer stack has now been updated
06:04where each shadow is its own layer as well.
06:07And now, we'll go back to File, Export, Macromedia Flash, go ahead and click OK.
06:12Again, we're choosing PNG for our file format.
06:14Go ahead and click OK, and I'm just going to call this the same thing, except "no layer styles separate shadows".
06:26Kind of a crazy long name, I wouldn't name this for real, but just to illustrate the point here, go ahead and hit Save.
06:32Jump over to Flash, and let's import that ridiculously long file name document here- Photoshop no layer styles with separate shadows.
06:39Go ahead and click Open and you'll see that each shadow is now a separate file.
06:46Now, it didn't match the Opacity setting, but because it's its own shadow now, we can convert that into a symbol and change the alpha.
06:54I'll just do that for you.
06:55So, I've got this graphic selected, we can hit F8 to convert that to a movie clip.
07:00Go ahead and hit OK.
07:02Now that it's a movie clip we can go to the Properties panel, or Properties pane, and choose an alpha and change it from 100% to
07:10I believe it was 60% in Photoshop.
07:14Okay. So now I've got the ability to recomposite these files and work with them independently of each other.
Collapse this transcript
adjustment layers and blending modes
00:00>>All right, this is pretty much same the file we've been working with all along, but just slightly more complicated. That is,
00:05we've added what's called an Adjustment layer above the slide layers, here, the mountain, windmill, fence, and so forth layers,
00:13and this Adjustment layer is making all the layers underneath it to be tinted red.
00:18So let's take a look at what's going to happen here.
00:19If we export this using the Export Flash command, here, in ImageReady, we'll turn on Preserve Appearance.
00:27If this is turned off, that Adjustment layer will be ignored, so it's important that we turn that on and click OK, and we'll just go ahead
00:34and save this to the desktop, and just call it "adjustmentlayers.SWF."
00:37Go ahead and click Save.
00:38It's going to give us a warning, "Things were flattened."
00:40Let's just go ahead and turn that off for this session so we won't see it again.
00:44Go ahead and click OK.
00:46Now, when we switch over to Flash, we can go and import this, [Ctrl + R], or Import To Stage, here.
00:52There's the SWF file that we just created, and go ahead and click Open.
00:55So it's looks great.
00:56It looks exactly like it did in Photoshop and ImageReady, but the problem here is that it, again, generated one big giant bitmap in order
01:03to accomplish that effect.
01:04So there's a different workaround here that you might want to consider using.
01:09Ideally,what we've been doing the entire time- let's go ahead and revert this- what we've been doing for our export, here,
01:18is trying to export all the layers all at once, and sometimes, that's just not the way to go.
01:23Obviously, it's less time if it works for you, but a different strategy is to just isolate the layers for a given effect, and do more than one export.
01:33So just do an export for the appropriate set of layers.
01:36Let me just show you what I mean.
01:37So let's turn off these other layers, and first learn one other thing about Adjustment layers.
01:42So Adjustment layers, by default, affect every layer underneath them, and so they're tinting all four of those slide layers.
01:49What we're going to do is limit the effect.
01:51First of all, we're going to turn off these other layers, and then it would look like it's the same thing that I wanted to try to accomplish.
01:56I just want the blend mode- or sorry, the Adjustment layer- to go to this one layer.
02:01The problem is that since the Adjustment layer, like I said before, it affects every layer underneath it, even though we've turned them off,
02:07when we export this to Flash, the bounding box for this particular image is going to be the size of the canvas,
02:14because the Adjustment layer is currently affecting the entire canvas, even though there's no pixels here in the transparent areas.
02:22So to fix that, what we're going to do is limit the Adjustment layer to only affect the layer directly below it.
02:29The way to do that in ImageReady is to hold down the Alt key on Windows, or the Option key on the Mac,
02:36and put your cursor right between the two layers here, Option + or Alt + Click. What that does is that groups,
02:42or creates what's called a Clipping Group, for that Adjustment layer.
02:45So you see it kind of indents to the right, and the layer that it's being clicked to underlines as well.
02:51So if I turn on these other layers, you'll see that they're not red anymore.
02:54So I've limited the Adjustment layer to just the layer directly below it, by Option + or Alt + clicking between the two layers.
03:00So we'll go ahead and turn these off.
03:03Now, if we do a File, Export To Flash, and, again, choose Preserve Appearance and click OK.
03:10I'm just going to go ahead and replace the existing SWF file that we generated earlier.
03:14If I were doing this for real, I might decide to save each one of these SWFs out with a different file name, but for the purpose of speed here,
03:21and because I actually still have the layered ImageReady or Photoshop document, I can always go back and regenerate another SWF
03:27of just specific layers if I need to.
03:29We'll go ahead and click Save, and replace that existing one.
03:32Let's jump back over to Flash, use our Import command, Ctrl + or Command + R, choose that SWF, and click Open, and you see,
03:40we get exactly what we wanted.
03:42The slide looks red, and the bounding box is just the size of the pixels on that particular layer, and the good news here, too,
03:48is that it also rendered the layer style correctly without having to do one of the other two workarounds that I showed you in the previous movie.
03:56So again, this is a great technique if you're willing to spend the time of exporting individual layers,
04:02and realize it's going to just take multiple exports before you rebuild your file.
04:05So let's continue on and go back to ImageReady.
04:08We'll un-group, or remove that clipping group, for these two layers.
04:13Again, we Alt + or Option + Click again between those two layers to remove that clipping group.
04:17We'll turn off the mountain layer, turn on the next windmill layer, move that clipping- or that Hue and Saturation Adjustment layer
04:26to above the windmill layer. And again, we'll Alt + or Option + Click between those two layers, and again,
04:31we're doing that so that the resulting bounding box in Flash is just going to be the size of that slide, and not the entire canvas.
04:38So again, we'll go to File, Export, Macromedia Flash, Preserve Appearance, click OK 00:04:45.076] Replace the existing SWF file that's there.
04:47Go and hit Replace.
04:49Jump back over to Flash, and here's the best part about this.
04:52Because we've matched the stage size in Flash to the canvas size in Photoshop, when we import this updated SWF, here,
05:01and click Open, watch what happens.
05:03It comes in the exact same registration and Z-order as well.
05:07So it's really smart about that, and some people, you might be worried that you've actually clipped that slide behind the front one, but it's not.
05:14It's just sitting behind there.
05:15So it's really smart about that.
05:17So let's go back to ImageReady and learn one other trick, here.
05:22So again, what we'll do is to proceed, here, to move on, we'll Alt + or Option+ Click between those two layers again, turn off the windmill layer,
05:29turn on the fence layer, and move that Adjustment layer to just above it, and Alt + or Option + Click to constrain that.
05:36Now, the Adjustment layer is now working because we've isolated it to just two visible layers, and we've clipped it, here.
05:45This also will help us deal with blend modes.
05:48Now, Flash doesn't have blend modes natively yet, so let's change this to, say, Overlay,
05:52and you can see how that significantly changes how the red tint layer blends with the layer underneath it.
05:58We're going to do some other crazy thing, like Difference, or whatever blend mode that you happen to be using.
06:04So we'll just stay with Overlay at this point. What we want, again, if I had turned all these other layers on,
06:10it's possible that we could have kept the blend mode for this one particular layer, but we would have ended up with
06:16that one big giant bitmap again.
06:17So by using this technique, just isolating the given layers that you want to be working with at this point in time,
06:23you can now preserve the blend mode. You're going to basically just create a little flattened version of just these layers,
06:29but still preserve the transparency around it.
06:31So let's go to File, Export, Macromedia Flash.
06:35Again, Preserve Appearance.
06:36Click OK.
06:37We'll just replace the existing SWF again.
06:40Let's just jump back over to Flash again, and we'll Import, Ctrl + or Command + R, choose that updated SWF file, click Open, and there we have it.
06:48We have the effect of the Adjustment layer, the effect of the blend mode, and the bounding box of that graphic just by itself.
06:55So we can just continue to proceed to bring all the other layers in under separate exports and separate imports into Flash.
07:01So hopefully that gives you a handle on how to get the visual appearance of your Photoshop content, via ImageReady,
07:09and learn how to isolate the particular exports to gradually build up the file back into Flash.
Collapse this transcript
4. PSD to Illustrator to SWF to Flash
opening a PSD file in Illustrator
00:01>>So Chapter 2 showed us how to use Photoshop just by itself to create a workaround to get layers of a layered Photoshop file into Flash.
00:10In this chapter, we're going to talk about an alternate way to do the same thing by sending the Photoshop into Illustrator first,
00:18and there are some pros and cons for doing that, and I'll discuss those as we go.
00:23One of the cons of going the Photoshop-only route is, here's the document that we created from that chapter.
00:30You'll notice that when you click on any one of these images, the bounding box, if you will, for this particular graphic,
00:37is the size of the entire canvas, and there's really no way around that by saving the layers out as individual documents.
00:45Whereas, in this document, this one that we're going to create now in this chapter, by going through Illustrator, you'll notice that when I click
00:51on these individual graphics, the bounding box, if you will, is just the size of the actual pixels of that graphic.
00:59So again, we did this by sending our document through Illustrator.
01:02So let's talk about how to do that, and jump over to Illustrator.
01:10So the first step on using Illustrator as kind of a middle-man, if you will, is to not create a new document and import the Photoshop file.
01:20It's what a lot of people would think to do.
01:21While you can do that in Illustrator, you can place, or import a Photoshop file into Illustrator,
01:27a better way to go is to actually open a Photoshop file in Illustrator.
01:32A lot of people don't realize that you can do that, but here's that same Photoshop file that we've been working with in previous chapters.
01:38Go ahead and double-click on it to open it, and when you open it, Illustrator says, "Hey, what do you want me to do with this?
01:45This is as Photoshop layered document.
01:47Do you want me to convert those Photoshop layers into Illustrator objects?
01:52And, hey, if you even have text layers, do you want me to keep the text layers editable?"
01:56In this particular document, we don't have text layers, but just as a tangent, it's a nice option.
02:00It's a way to go back and forth between Illustrator and Photoshop.
02:04"Or do you want me to flatten all the Photoshop layers to a single image, so bring in the composite?"
02:08We're going to choose the default option, to, basically, preserve those layers.
02:12I'm going to go ahead and click OK.
02:14Little color management warning there, and take a look at the document now.
02:19So over in the Illustrator Layers palette, the layer structure comes in exactly as it was in Photoshop.
02:25All the layer names are retained, and so forth.
02:27Now, the background layer is just a solid white background.
02:32Since the Stage color in Flash is going to be white, we don't really need that layer, so I'm going to go ahead and just delete
02:36that layer, get rid of it.
02:38One final thing that we want to do to set up this document, like we did from going from Photoshop to Flash,
02:43we wanted to make sure that the Flash document was the same pixel dimensions as the Photoshop document,
02:48we're going to do the same thing here for Illustrator.
02:50We're going to go to File, Document Setup, and one of the great things about Illustrator now, is that you can change the measurement system
02:58to pixels, and we're going to make the width 620 by 380, and that will make it a wide orientation, and that will match the pixel dimensions
03:09of the original Photoshop document.
03:10So we click OK, and now you can see that the size of the document has been trimmed to just the size of the actual content,
03:18and everything's going to stay registered.
03:20Now, we've set up our document correctly.
03:23All we've done is we've opened it instead of imported it, preserved the individual layers as Illustrator layers, and now we go to the File,
03:32Export Option, and in the File Export dialogue box, you can choose Macromedia SWF, or Flash, as your file format.
03:42Once you do this, once you choose this and click Save, you're going to be presented with another dialogue box,
03:47where you can choose three different export options.
03:51The chapters that come next are going to walk us through the differences between those there different options.
03:56So- go to the next chapter.
Collapse this transcript
exporting layers as a single SWF
00:01>>So when you click the Save button after you've chosen Macromedia Flash as your Export file format, you get this dialogue box,
00:07the Macromedia Flash Format Options. In the Export As popup menu, you have three choices, AI File To SWF File, AI Layers To SWF Frames,
00:16and AI Layers To SWF Files.
00:19We're going to walk through these three different options, here.
00:22So the first one, AI File To SWF File.
00:25What that means is, all the layers in the Illustrator file are going to be exported as a single SWF file on one frame.
00:34The AI Layers To SWF Frames is every layer in the Illustrator document will come in as an individual frame in a SWF file.
00:44This is an option where you might want to use if you're creating a flipbook animation,
00:48where every layer was a different frame in your animation.
00:51The layers would be exported as individual frames in a single SWF file, and would come in as a little animation.
00:59The third option is AI Layers To Individual SWF Files, and that would create a series of sequential files for you,
01:06similar to what we did earlier, when we manually saved out each layer in Photoshop as a separate PNG file.
01:13So let's choose the first option, AI File To SWF File, and then down below here, we've got some other options. Generate HTML,
01:20we don't need that for now, and Preserve Appearance versus Preserve Editability Where Possible.
01:25Preserve Editability is where, if you had some vector objects, let's say that you had created in Illustrator,
01:30and you wanted them to come in as vectors, you could choose that option.
01:33It doesn't apply here for the particular content that we're creating.
01:36This is the most important portion of the dialogue box down below, the Image Format.
01:40You definitely want to choose Lossless.
01:42Lossless simply means PNG, the PNG file format here, meaning any bitmaps in this SWF file that's going to be generated should come into Flash
01:50as lossless PNGs, meaning no compression's going to be done.
01:53The reason you want to choose that here is that if you choose Lossy JPEG, and choose to compress them,
01:58you don't get a preview of what these bitmaps are going to look like, and they're all going to be optimized to the same settings.
02:04So we're going to choose Lossless, and they'll just come in untouched, uncompressed, just as they were in the original Photoshop
02:12and then Illustrator document.
02:14Go ahead and click OK, and the first option we're choosing is AI File To SWF File, and click OK.
02:20That resulted in a single SWF file.
02:23Let's jump over to Flash and open up our document, here.
02:31This is in Chapter 4, the "PSD to Illustrator Start" file.
02:36Click Open, which has already been resized to the 620 by 380 pixel dimension.
02:41Go and choose-- get this in window, and we'll File, Import, Import to Stage, and we're going to navigate through to the Chapter 4 folder,
02:52here, and in Chapter 4, I've actually saved off the three different versions, here, and there's the first one,
02:59the Illustrator file to a single SWF file.
03:01We'll go ahead and click and open that, and there it comes in.
03:06It comes in as a single layer, a single frame, and all the objects are independent objects in that frame,
03:13and you'll see a key difference here right away is that each graphic, now, has a bounding box that's appropriately sized to just the content
03:23of that particular graphic.
03:24At this point, we probably want to get all these graphics onto individual layers.
03:29So again, we can do a [Ctrl + A], or a (Command + A), to Select All, and go to the Modify Timeline, Distribute to Layers command,
03:36or Ctrl + or Command + Shift + D, and again, that's going to distribute all those particular graphics to their own layer,
03:42and retain the layer stacking order.
03:45That's great.
03:47It's actually much faster than going that, save each file out separately as Photoshop route.
03:51So you gain speed here.
03:53The bad side of this, or the thing that's not so great, is that you now have generic layer names.
03:59They're no longer named the same as they were in Photoshop.
04:02So if you want, you can go back in there and manually rename those to match.
04:07Also, when you look in your Library palette, Ctrl + or Command + L, the graphics that came in were generically named as well.
04:14So it's just Bitmap One, Bitmap Two, and so forth.
04:16So you gain one thing in terms of speed, bringing these files in a lot quicker, but you end up with generic layer names and symbol names.
04:25If you just want to do it quick and dirty, though, it's a great technique. And again, the advantage is that the individual graphics
04:31come in at the appropriate size.
Collapse this transcript
a SWF with multiple keyframes
00:01>>In this movie, we're going to see the second export option for choosing the Macromedia Flash format from Illustrator.
00:07So go File, Export.
00:09Again, choose Macromedia Flash from our File Type options, and we're going to choose, save this as Layers To Frames,
00:17to indicate our second option here. For the purposes of this tutorial here, we'll just save it to the desktop.
00:23Go ahead and hit Save, and once we do that, the Macromedia Flash Format Options dialogue box comes up, and we'll choose the second option,
00:35AI Layers To SWF Frames. As I said before, this is the file format, or the option to choose, if you wanted to create a flipbook animation,
00:43where every layer was a different frame of an animation, and when you import this into Flash, it'll come in the timeline as a series of frames.
00:51So as a little animation.
00:53We'll leave everything else the same, including the Image Format Loss list.
00:56You know, this isn't the appropriate choice for this particular type of document, but I'll just do it to illustrate that there is a difference.
01:02Go ahead and click OK.
01:04Let's jump back over to Flash, and we've got our "Start" file open again from our Class Files, Chapter 4 folder. The "PSD To AI Start" FLA file.
01:14We'll go to Import that other option.
01:17Now, for the purposes of grabbing the file, you can either grab the one from the desktop that you just created if you're following along,
01:24or you can just use the one that I've done ahead of time that's included in your Chapter 4 folder.
01:29So you're just, PSD To AI Layers To SWF Frames.
01:32Go ahead and click Open, and you'll see in the Timeline, rather than a single frame where everything is on the Stage in a single layer
01:40in a single frame, each layer came in on one layer on its own frame.
01:47So if I were to scribe this, play ahead very slowly so you can see the animation, if this was more of a flipbook style type of content,
01:55it would make a lot more sense.
01:56So again, not the export option you would choose for this particular type of document, but if you were drawing a frame-by-frame type of animation,
02:05or doing stills from a video and converting them to layers, or so forth, this would be a great option for you.
Collapse this transcript
exporting layers as multiple SWFs
00:00>>And finally, we'll show the third export option when exporting a Macromedia SWF file from Illustrator.
00:06We'll go to File, Export.
00:08Again, choose Macromedia Flash as our file format.
00:10I'm going to go ahead and call this, "Layers to SWFs," and go to the desktop.
00:16Now, since I'm going to be creating a series of files, we'll put them in a folder, and call these "Layers to SWFs", and place them in that folder.
00:29Go ahead and hit Save, and again, our Options dialogue comes up, and this is where I'll choose the AI Layers To SWF Files. Again,
00:36just to reiterate, every layer in the Illustrator file's going to be turned into a separate individual SWF file, and I'll show you the advantage
00:44of that once we click OK, and it goes and does its thing.
00:48Let's jump back over to Flash. Actually, before we do that, let's go look at the desktop, and there's my folder, "Layers to SWFs",
00:55and those are the sequential files that was created.
00:58So "Layers to SWFs", layer one, layer two, layer three, layer four, and so forth.
01:03Back into Flash, here's our starting document with nothing on the Stage, here. If we go File, Import, Import to Stage,
01:12I'm going to navigate to the folder in your Class Files folder.
01:17I could just as easily go to the desktop and grab the ones that we just created, but in the Chapter 4 class files
01:23as well is a folder I've already created for these, "AI Layers to SWFs."
01:26Open that up, and there's my sequential files.
01:29I'll go ahead and Select All, [Ctrl + A] and click Open. The advantage of this technique, and the reason why I like it as your best choice
01:36for this type of content from Illustrator, is that it automatically created each one of those SWFs and placed it on its own layer.
01:45So it's recreating the stacking order for you, and it may not get it right completely.
01:49You might actually have to switch some of the layers around, but the other advantage of this technique, too, is that while it creates the layers
01:57for you, it also constricts the bounding box to the actual size of the content.
02:02The downside is that because this happened automatically, the layer names are generic.
02:07They're not the same name as they were in Photoshop.
02:11So just depends if you're trying to bang something out very quickly, this is a better way to go to get a quick copy into Flash.
02:18If you really, really care about the file names, this is the downside of this technique.
Collapse this transcript
5. PSD to Fireworks to Flash
PSD to Fireworks PNG to Flash
00:01>>If you happen to have a copy of Fireworks on your machine, that is actually another interesting way
00:05to get a layered Photoshop file into Flash.
00:08So take a look at this document.
00:10It's slightly different than the ones I've been using in the previous chapters.
00:15I've done a couple things like kept the text as text layers, so it's still editable text.
00:20So if I take a look at the next and the previous layers here, those have not been rasterized into pixels, I've kept them as text.
00:28Also, to see if this works, I've converted the black graphic, here, that was just a rectangle filled with black pixels.
00:36I've converted that to a shape layer, which in Photoshop, is a vector object.
00:42So I want to see if that will convert into a vector object in Fireworks.
00:46So I've maintained the text as text layers, created just a basic shape as a vector, and also kept the drop shadows, here, as layer styles.
00:57So each slide, here, the mountain, windmill and so forth, each has a drop shadow effect, whereas in the previous versions of the Photoshop document
01:05that we've been working with, I had converted those layer effects into a separate layer.
01:11I'll actually talk about how to do that in a layer chapter.
01:14Anyway, we've got this file set up.
01:15We're going to turn off the background layer, because we don't really need that for our mockup, and we've saved this document,
01:22and let's go take it over to Fireworks and see what it looks like.
01:25So close this.
01:27Don't save changes and we'll jump over to Fireworks. We'll open this Photoshop file, and I'm in the Chapter 5 folder of the class files,
01:36and file number one is that same Photoshop file we just took a look at in Photoshop. When we click Open, you'll see pretty quickly,
01:43Fireworks has converted this document into a Fireworks document, where each layer comes in as a separate layer, just like it was in Photoshop.
01:51It retains all the layer names.
01:52Let's see about that type.
01:53So if I click on the type, it's still a text layer.
01:57So I can still go in there and edit the text if I need to, which is kind of a nice feature.
02:01The bar did not come in as a vector.
02:04So that's easy enough to re-create, though, in Fireworks.
02:06So we'll just go ahead and delete that object.
02:09Get our Rectangle Tool, and draw just a new rectangle in place of the old, because there's really no reason for that to be a bitmap.
02:18It would add file size more than we need.
02:19So we'll just make that the correct size, and we'll move that correct order in the layer stack, and just re-name it "Bar".
02:26Okay, but you'll notice that the layer styles did convert to a drop shadow.
02:32So if I take a look at the Properties palette, down the bottom of the Properties pane,
02:36each of these slides now has what Fireworks calls a dropshadow effect.
02:42So it's a layer style in Photoshop, it's an effect in Fireworks, but it converted over just fine.
02:48Most of the layer styles in Photoshop will convert over just fine, unless there's a layer style that doesn't exist as an effect in Fireworks,
02:56but the basic ones come over fine, like drop shadow, bevel emboss, things like that.
03:01Some of the more obscure ones, like satin or whatever, Fireworks doesn't have an equivalent of that,
03:07so that would not convert over into the Fireworks document.
03:10So let's turn off that background layer, and we've seen that, for the most part, the document came over just fine,
03:17and now we're ready to get this into Flash.
03:20Now, some of you may actually be tempted to export a SWF from Fireworks and place that SWF file into Flash, and while that's a valid thing,
03:29you can do that, in Fireworks MX 2004, there's a little quick export shortcut in the top upper left-hand corner--
03:36upper right-hand corner here, and I can choose Macromedia Flash and export a SWF.
03:40I'm actually going to advise not to do that because it's not as good of a result.
03:45What not as many people realize is that you can actually just place, or import, a layered Fireworks file directly into Flash without having
03:53to convert it to a SWF first.
03:55If I choose Export SWF, it gives me a file name.
03:58I can click Options, and I have certain options here that I can choose.
04:03It's just not as robust as going the direct route, but just to talk about this.
04:07If I did export a SWF from Fireworks, if there are vector objects in the file, I can maintain their paths when it comes
04:15into Flash as a SWF file.
04:17If the paths have some effects on them, you would want to turn on Maintain Appearance, and that would rasterize those and turn them into pixels,
04:25but if it's just straight, basic shapes with no effects on them, you can go ahead and maintain them as paths, and for the most part,
04:31that will keep the file size down smaller.
04:33Text, same thing.
04:34If it's just simple text, and you want to be able to edit it in Flash, choose Maintain Editability.
04:39If the text has some effects on it, again, convert that to paths to maintain the appearance of it, and you can choose JPEG Quality Setting
04:46for the embedded bitmaps, and so forth.
04:48We're going to go ahead and cancel that, because that's not the way I want to go.
04:51I've just got my file.
04:52I've got it set up correctly.
04:54We'll go ahead and save this as just a regular Fireworks document, which is the PNG file format.
05:01Go ahead and hit Save, and we'll go and replace that one, and now let's jump over to Flash...
05:09and we've got the starting document open.
05:12It's number three in the class files folder from this chapter, and we'll just go import to the Stage, the PNG file that we just created.
05:21So there's the original Photoshop file.
05:23Here's the version that all we did was just opened it up into Fireworks and did a little tweaking to get the vector shapes to be vectors again.
05:31We'll go ahead and choose that file, and we get a little bit more options in here.
05:36So the file structure.
05:38Do we want this to come in as a single movie clip on the current layer, but retain the layer structure within that movie clip,
05:46or do we want to just import it into a new layer in the current scene?
05:48I'm going to choose that option, and again, the similar options that we saw in the SWF Export from Fireworks, the ability to keep the paths editable,
05:55and keep the text editable, if that's what we want.
05:59Those are the choices I'm going to choose for this particular document.
06:02What you choose is just going to depend on the kind of document you've created.
06:05Again, if you've got some effects, or special appearances on those vector objects, or the text objects, you would want to choose Rasterize
06:12to make sure that the looks were maintained, and of course you have the option that you probably wouldn't use in this context,
06:18but you could bring everything in as single flattened bitmap.
06:21We'll go ahead and click OK, and you'll see, it does a pretty good job of bringing everything in, and this background layer,
06:27the big white rectangle, we don't really need.
06:29So I'm going to delete that.
06:31I can select all the objects, and if I look at the timeline, they're all single objects on one layer,
06:37and what we've seen before in previous chapters, we can distribute those objects to their own layers by going to Modify Timeline,
06:44Distribute to Layers. If I tone down the timeline there, you can see each object now is on it's own layer.
06:51So I've maintained the layer stack just like it was in Photoshop.
06:54I do get some generic names, unfortunately.
06:56You would want to probably go in there and rename these layers to the same as they were in Photoshop, but it is a timesaver to get this content in,
07:04and then of course, the cool thing here is that if I double-click on this text object, you'll see that it is still editable text.
07:11If I click on this vector object, it comes in as a group to protect it because it's all on the same layer initially.
07:18So if I double-click on that group to edit it, you can see that it is, indeed, a shape, a vector shape, and I can just modify it,
07:26just like in the other shape.
07:27Let's go back to the scene, and there you go.
07:30So pretty robust support from going from Photoshop to Fireworks to Flash.
Collapse this transcript
6. Using the PSD2FLA Plug-in for Photoshop
a FLA file directly from PS
00:01>>So in the previous chapters, we walked through the various different ways to get a layered document into Flash.
00:06We used Photoshop by itself, and then we looked at some other options, like using ImageReady, Illustrator, or Fireworks kind of as intermediaries
00:14to get those layered documents into Flash.
00:17There's another option, a commercial option, from a company called MediaLab, and it's called PSD2FLA.
00:24Let's take a look at their website.
00:25It's medialab.com, and I show this to you not to try to sell you something, but just to let you know this is something you're doing often
00:32getting this layered content into Flash.
00:34This is yet another option that you could consider.
00:36It's relatively cheap.
00:37It's $89, and it's an Export plugin for Photoshop.
00:41So let's go take a look at what it actually does.
00:44Here I have my same Photoshop document we've been working with, and when you installed PSD2FLA, it comes up under the Export menu.
00:54So File, Export, PSD2FLA.
00:57My favorite non-useful feature of this product is that every time you open the plugin, you get a new random message at the bottom, you know.
01:06So this time it says, "Brace for impact.
01:07Great Flavor and fresh breath ahead."
01:09Completely random...
01:10Let's cancel and go open it again.
01:13"Try our new brunchilada."
01:15Completely random...
01:17Anyway, a couple things that make this plug-in unique.
01:20First of all, you'll see there's a new check box here.
01:22It says, "Open In Flash After Export," and what this implies, along with the name PSD2FLA, is that this plugin actually can create an FLA file
01:32for you, not just a SWF file.
01:34So all the other options that I showed you earlier resulted in a SWF that you had to then import, or place, into another FLA file.
01:44Now, many of you know this already, the SWF file format is a great run-time file format, but it's not necessarily a great interchange format.
01:52Things tend to get Flattened.
01:53Things turn into frames and so forth.
01:55So the ability to create an FLA file is really a neat option here.
02:00The other check box here that's useful is the ability to ignore hidden layers, layers that you've turned off.
02:07So in this particular document, you'll see that the background layer I've turned off.
02:10Since it's just a white background, I don't really need to include a giant bitmap that's just white in this document,
02:16because the Stage color in Flash can be white.
02:18So I just had this in my mockup in Flash to represent what it would look like...
02:22or rather, the mockup in Photoshop.
02:24So I've turned that off.
02:26Turning this check box off in the plugin is going to ignore that hidden layer.
02:29We'll go ahead and click OK and see what happens.
02:32It's done its export.
02:32We'll jump over to Flash now, and you'll see, it's created an FLA file for me, just like I said it would, and let's take a look at it.
02:39First of all, you'll see that the bounding boxes, the particular graphics, or the size of the graphic, which is nice.
02:45If you take a look at the Timeline, it's automatically created all the layers for me, and it's named the layers in Flash the same names they were
02:55in the Photoshop layered document as well, and then one other nice touch is that if you open up the Library, just Command + or Ctrl + L,
03:03and take a look at it. The PNG files that it generated for you are also all named the same name as the layers were in Photoshop.
03:11So huge timesaver for you.
03:13In my opinion, it is one of the best options if this is a particular workflow that you need to do often.
03:19Again, the advantage of the other techniques that I showed you in the other chapters is that if you already own those other products,
03:24it doesn't cost you any additional money.
03:26So anyway, just another option for you to check out.
03:29PSD2FLA from medialab.com.
03:32Cheers.
Collapse this transcript
7. Controlling Bitmap Optimization in Flash
optimization settings for each bitmap
00:00>>In this movie, we're going to talk about how to bring non-layered images into Flash.
00:05So things like GIFs or JPEGs or PNGs, and it doesn't really matter where these files came from.
00:10It could be a JPEG off a digital camera, or a GIF that you saved out of Fireworks, or a JPEG that you saved out of Photoshop, and so forth.
00:17Whatever. It doesn't really matter.
00:19But we want to talk about how to bring those particular files in, and more importantly,
00:22what Flash is going to do with them once you've brought them in, and then exported your SWF file from within Flash.
00:30So let's go import some bitmap images, here, and in your Class Files folder, I've actually got a chapter here
00:39for the Flash bitmap Optimizations, Chapter 7, and in there I just have the same image saved as a GIF, a JPEG, and PNG.
00:46So we can talk about the differences here.
00:50Let's go ahead and click Open, and here they are.
00:54So there's one.
00:55There's a PNG, and a JPEG, and a GIF.
00:58So we'll kind of put these side by side, so that we can talk about them.
01:05Okay, so let's bring this one to the front.
01:08Arrange, Bring To Front.
01:10Okay, so the same image saved as a PNG, a JPEG, and a GIF.
01:14So let's talk about what happens here.
01:16If we go to our File, Publish Settings In Flash, and go to the Flash Tab. By default, what Flash does,
01:25is has something called a "Global JPEG Quality Setting," and what this means is that every image, every bitmap image that's placed
01:34in a given Flash file that is not already a JPEG, by default will get converted into a JPEG when you create your SWF file,
01:44and the default quality, the default JPEG quality, is set to 80.
01:48Now, as a frame of reference, you should know that an 80 quality JPEG from Flash is not the same thing as an 80 JPEG quality from, say, Fireworks,
01:58or Photoshop, or ImageReady.
02:00It's the same terminology, but every product uses its own compression algorithm, so you're going to get different results.
02:06So an 80 JPEG out of Flash will look different, and potentially have a different file size, than an 80 JPEG from another product.
02:13So, again, when you bring in a bitmap, if it's not already a JPEG, by default, it's going to go out of Flash as a JPEG,
02:22which may or may not be what you actually wanted.
02:25You know, if you chose PNG as your file format to bring your bitmaps in, the advantage of PNG is that it's non-destructive.
02:31Meaning, it's a non-lossy compression format.
02:34It's not going to degrade any.
02:36Now, the downside of that, of course, is that the file size of a PNG is going to be larger than the file size of, say, a JPEG or a GIF.
02:44Usually. That's not always true, but for the most part, that's true.
02:48So, if you brought in your images as PNGs because you wanted to maintain the highest quality, and then when you export your SWF file
02:55out of Flash, and you're wondering why your PNG files aren't looking so great, it's because if you haven't done anything to determine what's going
03:02to happen to that individual PNG, all those PNGs are being sent out of Flash as JPEGs.
03:07So let's go ahead and click OK for now, and we'll make this really extreme.
03:10We'll take down the JPEG quality to 50, and click OK.
03:14So let's do a test movie, and a test movie is just [Ctrl + Enter], and you can see, here's the PNG that we placed, and normally,
03:24a PNG would not be compressed, but again, like I said, every PNG, by default, is going to go out of Flash as a JPEG.
03:31If you're wondering why that's been happening to you, well, now you know.
03:35You can definitely see that this PNG file has been compressed.
03:39Now, the good news about this is that if the image you brought in was already a JPEG, then Flash doesn't do anything to it.
03:48It just leaves it alone.
03:49By default, JPEGs do not get recompressed when you export the SWF file.
03:55Now, the GIF file also goes out as a JPEG, and so it can change based on how you brought it in as well.
04:02So let's go in and close this test movie window.
04:05So the trick then becomes, well, how do we control the individual bitmaps within Flash.
04:11So JPEG is your most flexible format here, because if you've already done the JPEG compression outside of Flash, like I said earlier,
04:20it will just go out as you brought it in.
04:23So there's no other work that needs to be done.
04:25If you brought in a GIF or a PNG, then you need to make some decisions.
04:29To control the per-object compression settings of an individual bitmap in Flash, you need to do that from the Library.
04:37So if I look at my Library panel, there's girls.GIF girls.jpg, and girls.PNG.
04:42If I double-click on, let's say, the PNG file, it opens up the bitmap properties for that particular image,
04:50and you'll see that the default compression setting for this PNG file is set to JPEG, because it's using that Document Global JPEG setting
05:00that I showed you in the Export Settings.
05:02If we turn off the Use Document Default Quality, okay, that's what's corresponding to that slider I showed you.
05:08If we turn that off, it still defaults to JPEG, but you can choose a different quality setting.
05:14So if you want it to go out as a maximum quality JPEG, you can type in 100.
05:19In order to actually see the results of this new number, you do need to click the Test button, and then kind of move the image
05:27around with the Grabber Hand inside this little tiny preview window, okay.
05:31So you can see, at 100 JPEG, the file is not going to be all that compressed in terms of quality, but the file size will be a lot larger
05:39than if you left it at 50, or whatever.
05:41You can see, though, it came in as 140K PNG file, so you can understand why, by default, these PNG files are being converted to JPEGs.
05:50If every PNG was left as a PNG, you'd have a pretty large file, but again, you're the one that probably wants to make those choices.
05:58So to re-iterate, if you want to change the way a PNG gets sent out of Flash, you double-click on the PNG in the Library panel,
06:09you turn off the Use Document Default Quality, and if you do indeed want it to go to a JPEG, you can override the global setting here
06:17by typing in your own number.
06:19So if I want it to go out as 60, let's say, I can click the Test button again, and now again, I can walk around through this little preview
06:27to make sure that that's actually acceptable to me.
06:29If I don't want it to go out as a JPEG, I actually do want it to go out as a PNG, then I need to choose that option from the Compression flyout
06:38and click Test. And you'll see now, it's going to go out exactly as it came in, uncompressed.
06:45All right?
06:47Now, on a given JPEG, if you decide that you do want to recompress it, for whatever reason, because, you know, you do a file size test,
06:55and your SWF file is still too big, you really have two options.
06:59You can do an external edit on this JPEG, and go to a different application, recompress it and update it inside Flash,
07:07or you can use Flash's ability to recompress the JPEG as well.
07:11So I'm going to double-click on the JPEG in the Library palette.
07:15So the girls.jpg.
07:16Go ahead and double-click on that.
07:18Up comes the Bitmap Properties dialogue, and again the default option for a JPEG is to use imported JPEG data.
07:25What that really means, or what that's really saying is, "I'm not going to recompress you, I'm just going to send you back out the way you came in."
07:31If you turn that off, you can then override the JPEG information that came in with it, and type in a different number.
07:39So if we do, let's say 80, and click Test, the file size will get even smaller.
07:45So again, if I want to see the results of that, I need to kind of pan around inside that little preview window.
07:52Okay? My advice is that Flash is a great application for doing a lot of things.
07:58It hasn't done a lot in recent years to improve the JPEG compression that you can get and
08:05the preview experience is sometimes difficult to work with.
08:07So my advice is, if you really care about the absolute image quality, that you actually do the JPEG-ing outside of Flash.
08:14So whatever image editor that you happen to be using and you like the results when you save a JPEG out.
08:20Do it outside.
08:21When you bring it into Flash as a JPEG, it's just automatically going to go out the way that you brought it in.
08:28Sometimes you don't have that option.
08:30For instance, in the previous chapters, we were talking about bringing the layer content in, the layered Photoshop files in.
08:36You always wanted to bring those layered files in as PNGs so that you could actually see the results of the compression from within Flash.
08:45So sometimes you do need to go in there in individual PNGs, turn them into JPEGs manually, and fiddle with the quality setting in Flash.
08:52These other single-layer documents, your best choice, again, is to make the JPEG settings outside of Flash, bring them in, and that way,
09:00you get to control exactly what's happening to these embedded bitmaps.
Collapse this transcript
updating an externally edited bitmap
00:01>>Well, let's talk about some other things that you should know when you're working with embedded bitmaps inside a SWF file.
00:06First, you should to always bring in the images into Flash that you're embedding here at the actual size you intend on using.
00:15Of course, that's not possible if you're going to be animating the Scale property, because that scale will be changing over time.
00:20But if the image is going to be static and not scaled through animation, then, by all means, what you want to do is try to bring that image
00:27in at the actual size you intend on using.
00:29Well, why is that?
00:30Well, let's go get our Scale Tool here, and we'll make the image a little bit smaller-- like so.
00:35And you'll see that whenever you make an image smaller, the on-screen version of that now has been interpolated down.
00:43Flash's great strength of course is its history as a vector animation tool, as a vector drawing tool, and it doesn't necessarily do
00:52as good a job with image interpolation.
00:54You can get much better results by downsampling, or interpolating, your images in an external bitmap editor-- whatever one you happen to be using.
01:02So that's one reason you'll get a better result if you do that outside of Flash.
01:05The other reason is that you're not actually saving any file size when you scale the bitmap down.
01:12Let's go ahead and do a test movie on this particular image at its full size again.
01:15We'll do [Ctrl + Enter], or (Command + Enter) on the Mac, and you'll see that the image is-- as exported-- we're actually looking at the SWF file now.
01:23Here we get a file size readout of what this export SWF file really is.
01:29It's because we have something called the Bandwidth Profiler turned on-- it's under the View menu, or [Ctrl + B]. So if you don't have that on
01:36in your version of Flash yet, go to the View menu and turn that on, and that gives you this little file-size preview.
01:40So we're at 62K.
01:42Let's go ahead and close this.
01:43Let's jump back over to the large image here, and we'll scale it down.
01:48And we'll do a test movie again--[Ctrl + Enter].
01:51You'll see that even though the image is smaller, technically the file size has not changed
01:56because what's happening here is the entire bitmap is still being included in that exported SWF file, and then at run time,
02:02the Flash player is simply just changing the width and the height of that particular embedded bitmap.
02:09It's the exact same thing as what happens in, say, something like HTML where you scale a bitmap just by changing the width
02:15and the height attributes in the HTML code.
02:17So again, bring your images in at the actual size you intend to use them.
02:20You'll get a better looking graphic that way because Flash won't be interpolating the image for you.
02:26Your external bitmap editor will be doing that.
02:28And you'll be getting a more accurate reflection of what the actual file size of your result in SWF file is going to be.
02:35So we'll go and do that edit here.
02:38Okay. Speaking of edits, when you edit an embedded bitmap outside of Flash, there are two ways to actually trigger an edit like that.
02:49You can trigger from within Flash, or you can do it outside of Flash.
02:52Let's show you what I mean by editing this image outside of Flash and see what happens.
02:56So let's go over to our class files here, and in the Chapter 7 folder, there's the big file that we placed in our Flash file here.
03:04We'll go and edit this in Photoshop.
03:06One thing I want to point out here is if you look on screen, the image looks much darker in Photoshop than it does in Flash.
03:15Let's go back to Flash.
03:16You can kind of see the difference.
03:17It's much lighter here.
03:18Now, you're not actually seeing two different versions of the file.
03:22What you're seeing is Photoshop presenting the image in a different preview fashion.
03:27So to make them look the same, we'll go to our View menu in Photoshop and change the Proof setup to Monitor RGB.
03:35And what that does is that makes that look the same as it did in Flash.
03:39So when you're working with files-- bitmap files-- in Flash that you want to send in to a Flash document,
03:45change your View Proof setup to reflect Monitor RGB, and that will be a more accurate preview of what it's going to look like
03:54in your embedded Flash file.
03:56So let's do a non-destructive edit, something like an Invert, Ctrl + or Command + I, just to change the file and see what happens.
04:02So we'll save it and close it, and then we'll jump back to Flash.
04:06And you'll see that the embedded bitmap here doesn't update automatically, so we can force that to update if we wish, if we've done an external edit,
04:15and we want to make the one inside Flash look exactly the same.
04:19The way you do that is you go to the Library Palette, and you either (Command + Click) on the Mac, or right-click in Windows,
04:25and pull down to the Update command in the Contextual menu here.
04:30And it knows what the original path was to that file, so we can just ahead and select that and click Update.
04:36And now that shows you the external edit that we did.
04:40So that's one way to do it.
04:41If you want to make sure that you have the latest version of that particular file, go to the Library, find it in the Library,
04:49Right-click on it, (Command + Click) on it, and choose Update.
04:51And make sure it pulls in the most recent version.
04:55The other method is to trigger an external edit from within Flash, and the way to do that is a couple of ways.
05:01If you happen to be using Fireworks, you can do it directly from within the Stage.
05:07You can just right-click, or (Command + Click), on the actual bitmap on the Stage and say, Edit With Fireworks.
05:12And that will launch Fireworks if it's not already open.
05:15If you want to use a different image editor, such as Photoshop, you would go to the Library here, and do a right-click and say, Edit With...
05:23That will bring up a dialogue box where you can navigate to the image editor of choice.
05:27So I'm going to go to the Adobe Photoshop folder and choose Photoshop.
05:30Go ahead and click Open.
05:32It shows me that file.
05:34I'm going to go and invert it back, back to its original-- again, if I want to make it look the same, change it to Monitor RGB.
05:40We'll go ahead and save this, close the file, and then when we come back to Flash, you'll see that it automatically updates.
05:49So again, you can do an external edit, and then manually update the file on a one by one basis, or you can just simply right-click and choose
05:58the Edit With option to initiate that edit from outside in an external editor from within Flash.
Collapse this transcript
8. Photoshop Tips for Image Quality and Optimization
downsampling large images
00:00>>So in this chapter, we're going to take some time and talk about what you can do to make your images look as good as possible
00:07when you're preparing them to put in a Flash file.
00:10So chances are, when you're working with an image that's going to go into Flash, it's probably a lot bigger than it needs to be in terms
00:17of pixel dimensions, especially if you're using a picture off a digital camera or buying stock photography or something like that.
00:23So one of the first things you want to do when you open up the image in Photoshop is to view it at the 100 percent size.
00:30Now 100 percent doesn't mean actual print dimensions.
00:34If you're coming from the print world, you often think of 100 percent as actual size from that perspective.
00:39When you're dealing with web graphics, or on-screen graphics, there really is no concept of resolution.
00:45All you really care about is pixel dimensions.
00:47Now a lot of you out there are still under the myth or the belief that web graphics need to be 72 pixels per inch.
00:54And that's actually not true.
00:56Let's actually go ahead and go on a tangent here and talk about that for a second.
01:00So I create a new document and my measurement systems here are set to pixels.
01:04Let's change the width to, let's say, 800 by 600, and it's going to be RGB.
01:10Let's change the resolution to 1000 pixels per inch.
01:14And most of you would agree that that's a high-resolution file.
01:17If you take a look at the file size, it's 1.37 megabytes.
01:21We're going to go back and change that resolution again to 1 pixel per inch, and you'll notice that the file size doesn't change.
01:29So in this context, resolution really only matters when you're talking about output resolution, when you're talking about print.
01:38When you're talking about a web graphic, or a graphic that's going to be seen inside a Flash file, all you really care about are pixel dimensions.
01:46Resolution's not a factor.
01:48So it could be 72, 600, 1-- it really doesn't matter.
01:51You just care about pixel dimensions.
01:54So hopefully that clears things up and debunks that myth there.
01:59So back to this image, where it's rather large-- you know, it opened up a 25 percent view.
02:04The 100 percent view in Photoshop means actual pixels, meaning 1 pixel on your screen is representing 1 pixel in the actual image.
02:12So it's the actual pixel's view.
02:14So a good way to get to the actual pixel's view, or the 100 percent view, is to double-click on the Zoom Tool.
02:20And we'll go ahead and do that.
02:22That takes you to the 100 percent view.
02:24You'll see that up here.
02:25And then I often want to work in full screen so I can see as much of my image as possible.
02:30So I'll press the letter F to put the image into full screen.
02:33If I press the letter H, it gives me the Hand Tool, and you can see that I can pan this image around quite a bit.
02:38It's a much larger file than we would actually put in a Flash document.
02:43So we need to resample this image, or downsample it.
02:47And the most common place to go to do that is somewhere called the Image Size dialogue box.
02:52Now, when we open up this dialogue box, there are two ways to use it, and not everyone gets that nuance.
02:58By default, the Resample check box is turned on, so you can use this dialogue box to resample an image, or to resize an image.
03:07If this Resample check box is turned off, you'll notice that the top portion of the dialogue box is unavailable.
03:15I'm going to turn that back on, and I'm going to describe this for a second.
03:18This, "upstairs" is what I call it, there's an "upstairs" and a "downstairs".
03:21The "upstairs" in the dialogue box is really for dealing with web graphics, or on-screen graphics.
03:26You'll notice that there's no resolution field here, because resolution's irrelevant when you're dealing with a web graphic.
03:32That's why there's nothing up here.
03:33But "downstairs" is really dealing with print documents-- documents that are going to print it-- and that's why there's a resolution field.
03:41What will the output, or the print resolution of the file, be?
03:45So when the Resample is turned off, you'll see that I cannot change my pixel dimensions in this image.
03:51So it really doesn't matter what I do down here in the "downstairs".
03:54It will not change the on-screen view of the image in Photoshop.
03:58So if I change the width to, say, 6 inches, you notice that forces the resolution to go up.
04:04The file size didn't change.
04:06So to fit the smaller space, the pixels themselves had to shrink so the resolution effects goes up.
04:13We go and click OK.
04:14A lot of you are sometimes confused by this, because nothing happened on screen, and other people have been confused
04:21where the image is 100 percent. You can pan for acres, but you print it and it's the size of a business card.
04:26You know, it's so huge on my screen, why is it only the size of a business card when I print it out?
04:32It's because all you did here is resize the image.
04:34You didn't resample it.
04:36If we go back to Image, Image Size, and dial in our original resolution here-- 72-- this time we'll turn on the Resample check box,
04:44which was the default setting here.
04:46And this is where we can actually-- now instead of resizing, which is not destructive--
04:50we'll do resample where we'll either add pixels to the image or, in this case, we'll take away pixels from the image.
04:58So we're going to make our width, let's say, 400 pixels wide.
05:02And you'll see that the image that used to be 7.5 MB-- it's now going to be 625 K. And this is what we're doing,
05:09is we're downsampling that file.
05:10We're throwing away a bunch of pixels that shouldn't be there.
05:15Now, when you're resampling, you've actually got a couple of different options in Photoshop CS as to what interpolation algorithm--
05:22a bunch of new terms there-- you can choose to resample an image down.
05:27The default is Bicubic, and that's the same option that's been there through many, many versions.
05:33In Photoshop CS, they added two new options-- Bicubic Smoother and Bicubic Sharper.
05:39Without getting into a lot of technical detail, basically if you're upsampling an image, you're increasing the file size--
05:45you'd want to choose Bicubic Smoother.
05:47And if you're making the image smaller, you'd want to use Bicubic Sharper.
05:50For now, I'm going to use Bicubic, and I'll show you the difference and do a comparison between the two.
05:56Now, before we actually do this resample, I'm going to cancel this.
06:00And let's go back to the Normal mode.
06:03I'm going to duplicate this image first and create two of them side by side so that we can compare the results.
06:10So I'm going to change the Proof back to the Mono RGB.
06:14Great. So we're going to resample this one with Bicubic Interpolation, and we're going to choose Bicubic Sharper for this one,
06:22and we'll compare the difference.
06:23Let's go to Image, Image Size, turn on Resample, make this one Bicubic, and we'll make the width 400 pixels wide.
06:29So the file is getting smaller, and we're using the Bicubic default option.
06:34Click OK. Now we'll do the same thing with this version.
06:38We'll go to Image, Image Size, but instead of Bicubic, we'll choose Bicubic Sharper, and change the width to 400.
06:45And click OK.
06:49And we'll zoom that document up to match this document side by side.
06:57Now, I don't know if you're going to be able to tell on your video here, but hopefully you should see that this version
07:03on the right is much sharper, has much more detail, than the image on the left.
07:08The image on the left was a touch softer.
07:11So what the Bicubic Sharper algorithm does is try to retain as much detail as possible and keep the image crisp like the original was.
07:20So that's one tip for you, is that when you are resampling your image, you're making them smaller--
07:25you choose Bicubic Sharper to retain the detail.
07:28Now, the good news about that-- it usually saves you an additional step-- this image probably would not need to have any additional sharpening on it
07:36because it looks crisp enough, whereas this image here, because we chose Bicubic, it looks a little bit soft.
07:42We would want to use, you know, something like the Unsharp Mask filter to bring back some of that detail.
07:47So rule of thumb here is if you're using Photoshop CS, change your interpolation method for resampling to Bicubic Sharper
07:55when you're making your images smaller.
07:57If you're using Photoshop 7 or earlier, what you need to do is after you make the image smaller with Image Size, is you need to go back
08:04and sharpen that image with Unsharp Mask to make it look like it had the original detail.
08:10For now, though, I'm doing this on purpose to illustrate another point, when it comes to saving a file as a JPEG.
08:18We'll get to that in just a second.
08:20One thing that you might want to consider doing under your preferences in Photoshop CS-- the image interpolation method now can be set as a default,
08:30so, we said earlier, it's Bicubic.
08:32If you find that, you know, 90 percent of the time you're making your images smaller,
08:36just change the default interpolation method-- Bicubic Sharper.
08:40That way when you go into Image, Image Size, it will automatically be set to that option.
08:46All right, so we've got a slightly soft image on the left, and a slightly sharper image on the right.
08:53And you'll find when you're doing web graphics, if you haven't discovered this already, that you never get anything for free.
08:59So while this image looks better on the right, it's going to come at a cost.
09:03What do I mean by that?
09:04Well, let's choose the image on the left here, the softer image.
09:07We're going to go our friend Save For Web-- File, Save For Web.
09:11And this will bring up the Save For The Web dialogue box.
09:15The original image on the left, uncompressed, and then the image on the right, chosen to a JPEG of medium quality.
09:22Let's see.
09:22Let's just do a comparison.
09:23We'll make this a high-quality JPEG-- a quality of 60.
09:27And the file size here is 59.3 K. So this is the soft image, the soft original, as the result from just using Bicubic instead of Bicubic Sharper.
09:38It has a 60 percent quality JPEG.
09:40The file size is 59.3.
09:42We're going to remember that.
09:44Cancel. We're going to choose the sharper image now-- same pixel dimensions, same original source file.
09:50It's just that we used Bicubic Sharper for the interpolation method.
09:53We'll go back to File, Save For Web again.
09:56Same settings-- high quality, 60 percent quality JPEG.
10:01And it's now 66.45.
10:03So I think it was 59 something before, 66 is higher.
10:07So even though the pixel dimensions are the same, the sharper image is slightly higher in terms of percentage.
10:15It's a significantly higher file size than the softer version.
10:20Well, why is that?
10:22Well, it's because JPEG likes soft images.
10:25The softer the image, the lower the file size can be without destroying image quality.
10:31JPEG doesn't like edges, and an edge is defined by a light pixel next to a dark pixel.
10:37And when you're sharpening something, that's exactly what you're doing.
10:40You're increasing the contrast of edge pixels, meaning the light half of an edge gets lighter, and the dark half of the edge gets darker.
10:47Therefore, you're creating a more pronounced edge.
10:50The harder the edge is in your image, the larger the file size will be comparatively when you're using the same quality setting.
10:58What that means is you'll have to increase the quality setting to retain the original image detail without getting artifacting.
11:06You can see around Maya's face here.
11:07At the quality 60 setting, she's getting quite a bit more artifacting than we saw on the softer version.
11:16So there's no right or wrong.
11:17I just want to teach you how JPEG likes to think.
11:20It works. It likes soft images, which might finally explain why the heck there's a Blur field, or a Blur control,
11:27inside a Save For The Web dialogue box.
11:29You may have wondered why would you want to blur your image?
11:31And if you look at the Tool Tip for it, it actually says, "Applies blur to image to reduce artifacts".
11:36Well, that's part of it, and that's kind of an inside, again, to the way JPEG works-- the fewer edges that are fine.
11:42So the less severe the edge, the less JPEG crusties.
11:46Or artifacting, you'll see...
11:49So if I were to blur this image, just even a small amount, like just a quarter of a pixel- .25-
11:56and click in another field to update that preview, you'll see I'm just about where I was to the previous image
12:04where I was just using Bicubic instead of Bicubic Sharper.
12:07So the moral of the story is, if you've got an image that's just not getting to the file size you want, one of your other options in addition
12:15to lowering the quality setting is to just blur it slightly if you don't care about the crispness of the detail.
12:21So we'll go and cancel this.
12:23So to review, when you make your images smaller, if you care about the detail more than you care about the file size, choose Bicubic Sharper.
12:31If you're more concerned about the file size over the detail, then choose Bicubic.
12:36You'll end up in a slightly softer image, which will reduce to a smaller file size when you choose JPEG with fewer artifacts.
Collapse this transcript
tips for sharpening images
00:00>>In the previous movie, I told you how the best way to resample an image down but maintain detail was to change the interpolation algorithm,
00:10the resampling method, to Bicubic Sharper.
00:12Well, that assumes that you were starting with a decently sharpened image to begin with, so, you know, it doesn't add detail that wasn't there.
00:21So I thought I would give you a couple of shortcuts, or a couple of tricks, on my favorite sharpening techniques.
00:26So I'm going to zoom up this image to 100 percent so I actually see the full-size pixels, and you can see
00:34it's a relatively sharp image. But I want those water drops to really pop off the leaves, so to speak.
00:40So one of my favorite techniques is a technique that is pretty common.
00:44A lot of people know about it already.
00:46It's called High-Pass Sharpening, and what we do is you duplicate your existing layer and, for me, the best way- and the easiest way-
00:54to duplicate a layer is just to do Ctr + or Command + J-- [Ctrl + J] on a PC and (Command + J) on the Mac.
00:59And that duplicates your active layer.
01:03You can see that in the Layers palette.
01:05And then you go to this obscure filter called Filter, Other, High Pass, and it's in the Other submenu-- so Filter, Other, High Pass--
01:13and what this does is turn your image into a lot of gray, but along the edges, it makes it kind of darker and lighter.
01:22So this is what some people call an edge detection filter.
01:26Along the edges, it gets darker and lighter, and everything that's not an edge just turns into this middle gray.
01:32So I'm just going to use a radius, a modest radius amount-- maybe a pixel and a half here-- and I'm going to click OK.
01:39And what I want to do now is make that gray stuff disappear and just leave the darkening and the lightening around the edges.
01:47The blend mode-- one of the blend modes-- that happens to ignore gray and increase contrast at the same time is the Overlay blend mode.
01:55So you can see that now those raindrops are much more sharp, and they're just popping off that leaf.
02:02I'll turn off the sharpened layer and turn it back on so you can see the difference.
02:08So now we just have a much better starting point to downsample an image down.
02:13So we aren't making a soft image smaller.
02:16We're making a sharpened image smaller.
02:18And to maintain that detail, we would then go use Bicubic Sharper.
02:22Let's go do that-- Image, Image Size.
02:25We changed our default setting here to Bicubic Sharper, so let's change this to 600 pixels wide.
02:30Click OK. And we've just got a much nicer looking file that we can then save as a JPEG and put into our Flash document.
02:38That's where our final destination is.
02:40So I'm going to close this document and give you just a slight variation of the same thing.
02:46Again, we'll zoom this up to actual size, actual pixels, and for this particular image,
02:52we may want to decide to limit the sharpening effect only to certain areas.
02:57So typically the most important part of the portrait is the eyes.
03:01We might want to draw attention, or draw the viewer in, to the eyes.
03:05So, again, we'll do the same technique.
03:06We'll duplicate the layer- [Ctrl + J]. We'll Fit Into Actual Size here.
03:10I'll go and hide my palettes just so you can see this a little bit better.
03:14So [Ctrl + J] will duplicate the layer and bring our palettes back, and you can see that.
03:18We go to Filter, Other, High Pass, and again, we'll just use a very modest amount-- maybe one or two pixels--
03:26just enough to increase contrast along those specific edges.
03:30We'll click OK.
03:31Then we can change that blend mode to Overlay to make the gray stuff disappear.
03:37And now if I turn the layer on and off, you should see those eyes just popping up a little bit more-- just looking a little bit more crisp.
03:44Now, if I just zoom out though, you'll see that other areas are being sharpened where I may not want them to be sharpened.
03:51So to limit the effect on the sharpening, I might want to add what's called a layer mask to this layer that we've used to sharpen.
03:58I might rename this layer to "High Pass" so we actually know that that was our sharpening layer.
04:05Now, normally, when you click on the Layer Mask icon at the bottom of the Layers palette, the layer mask is added and is set to Reveal All,
04:14which means all of the effect of the sharpening is being applied on this particular layer.
04:19If you want the reverse of that, you hold down the Alt key on Windows, or the Option key on Mac.
04:26It creates a layer mask but hides everything on this layer, so it's as if you didn't sharpen this layer at all.
04:32So if I turn this layer on and off, nothing changes.
04:35So now that I have a layer mask applied to this "High Pass" layer set to Overlay, I can type B for my Brush Tool and,
04:43with my foreground color set to white, I can paint in the sharpening effect just where I want it.
04:49So I'm just going to paint it immediately around the eyes and maybe lower my brush size by using my right and left bracket keys.
04:57And paint in the eyelashes here, and maybe the highlight shine on her lip a little bit, the edge of her nose, the diamond earring here...
05:06And so what I'm doing here is I'm not emphasizing, you know, like, pores and skin and things like that.
05:12I'm just increasing the interest, or the tension, around the eyes and the subtle details that I want to draw the user to.
05:19So if I [Shift + Click} on the Layer Mask icon, I can turn that mask on and off, and hopefully you can start to see the effect
05:29of that sharpening layer.
05:31Now, to just make this a little bit more dramatic, what I can do is duplicate this layer again- [Ctrl + J]-
05:36to just double the effect so you can see that it's much sharper now around the eyes.
05:41And then I'll go ahead and flatten this image down and go to Image, Image Size.
05:48And again, we've strengthened the portion of the image that we think is the most important before going down and resampling this with Image Size.
05:56So I'll take the width to 600 again, click OK, and view that at actual size, and there we go.
06:02We've really drawn attention to the portion of the image that we care about, and we've left the rest of the image soft.
06:09So that's some brief techniques on how to increase sharpness of your images and make them look a little bit crisper before popping them into Flash.
Collapse this transcript
color casts and digital noise
00:01>>I'm going to show you two of my favorite techniques for dealing with color cast removal and also trying to eliminate, or at least reduce,
00:08the effects of digital noise.
00:10I'll explain the noise issue in just a minute.
00:12If you look at this first image here, it's pretty obvious that it's kind of dingy and kind of looks like it has a yellow or green cast to it,
00:18and starting in Photoshop 7, and of course in CS as well, there was a new command added called Auto Color
00:26that could help eliminate these color casts pretty instantly.
00:30The menu command is Image, Adjustments, Auto Color.
00:35And you'll see there's also a keyboard shortcut, and that's what I try to remember.
00:39So the keyboard shortcut is (Command + Shift + B) on the Mac, or [Ctrl + Shift + B] on Windows.
00:46And you can see that with just one keystroke, we very quickly eliminate that color cast.
00:51So [Ctrl + Z] to undo to see the before.
00:55[Ctrl + Z] again to see after.
00:57So check out Auto Color.
00:58And I'm just trying to give you some quick tips for trying to make your image look as best they can before you send them in the Flash.
01:05If your image has some color issues, color cast removal-- like the white balance wasn't set correctly on the camera when you took a picture
01:11or whatever-- that's one of the first techniques you should try, is the Auto Color command- Command + or Ctrl + Shift + B-
01:17to see if you can remove the color cast.
01:20This next issue is the issue of noise.
01:23It's especially an issue with digital cameras- low-end digital cameras- especially in shooting in either low light in high-speed ISO,
01:32or a combination of the two.
01:34You can see in my wife's face here- in the low light and the shadows here- the camera just introduced a lot of random colors across her face
01:44and in the shadow area, right here on Sophie's neck, and sometimes in the sky if it's low light there as well.
01:52Now, noise itself isn't bad.
01:54I mean noise can represent grain as it does in analogue film.
01:58If you look at the water here, there is, quote, a "grain" there present in the image.
02:04But you notice that it's not these random red and green and blue colors, so it not as obnoxious, and sometimes it's actually desirable.
02:11But if I go to another portion of the image and zoom up, let's say, on my wife's chin, you can see a lot of the random red and blue and green pixels
02:21that were introduced here in the hair as well.
02:24So let's just take this portion here and see how we can try to eliminate or reduce the effect of those random colors.
02:32This technique requires you to duplicate your existing layer, and the duplicate command is Ctrl + or Command + J. And you'll do something
02:40that you wouldn't normally want to do to an image.
02:42You'll blur it.
02:42You go to the Filter, Blur, Gaussian Blur command, and we're going to blur this enough so that those random colors start to blur
02:51into the surrounding areas.
02:53So let's try a radius of three.
02:55You can see that I'm just trying to smooth out, or soften, the effects of those random colors.
03:01Go and click OK.
03:04And what we're going to do is use the color information of this top layer that we've just created by blurring,
03:11and the detail information of the layer underneath it.
03:15Well, to use the color of this layer, there's a blend mode called Color, and that's exactly what it does.
03:21It uses the color information of this layer, but applies that to the detailed layer underneath it.
03:27So if we turn off this Color layer-- this layer set to the Color blend mode-- you can see that the before and the after,
03:33and hopefully you can see that that looks much better-- there's still grain, still, quote, "noise"--
03:38but when you remove the random color pixels of that and change their color, shift their color to colors that are actually supposed to be
03:45in the image, the random noise starts to look like actual film grain.
03:50If we pan around to a different part of the image, and-- right here, let's say--
03:55and turn it on and off, again you can see right around here the random colors are now shifting into something that's more natural,
04:01that should be part of the image.
04:03So that's a handy noise reduction technique.
04:07I'll show you this with another image-- and certainly, these images are in your class files folder if you elected to get them in the Chapter 8 folder.
04:16So let's zoom up to this image, and you can see hopefully on your screen, there's lots of these random reddish and greenish and blue pixels here,
04:25and the grey of the water and on the tree bark as well.
04:30And we just want to try to neutralize those.
04:32So we'll zoom up a couple of times, and let's go and do that.
04:35Let's duplicate the layer-- Command + or Ctrl + J. Go to Filter, Blur, Gaussian Blur.
04:40And we just want to choose a high enough radius where those colors start to just melt away and blend in with the underlying areas.
04:46So let's do maybe a pixel radius of five on this particular image.
04:50Click OK. And again, set that blend mode to Color to use the color information of the top layer,
04:56but the detail information of the bottom layer.
04:59There's before and there's after, just by turning the layer on and off.
05:03Zoom up over to this area, and you can really notice it hopefully right here.
05:07So we turn that off, and turn it back on to see the effect.
05:13So anyway, hopefully those two techniques will help you getting your images looking the best they can before you start downsampling them
05:19and getting them into Flash for your artwork there.
Collapse this transcript
using two different quality settings
00:01>>In Chapter 7, I mentioned that if you really want to control how the imbedded bitmaps in your SWF files are optimized,
00:09the best way to do that is to optimize it in an external image editor, such as Photoshop, and set the JPEG compression settings
00:17to your liking in that application.
00:19And then bring in the Flash as a JPEG and, by default, if it comes in as a JPEG, you do nothing else to it.
00:25It will go out as it came in and not be recompressed.
00:28Well, now that we know that we can kind of take advantage of that little piece of workflow there, and use the feature in Photoshop to help us make
00:37at least a more optically better looking image based on what we think is important.
00:41So if I look at this image here-- and I think everyone will agree that the most important part of the image is the couple's faces--
00:48and maybe we don't care so much about the foreground portion of the image, which is pretty soft and blurry anyway.
00:53So what we can do is create something called an alpha channel, and use that alpha channel to optimize two portions of the image differently
01:04from each other using two quality settings in two different areas, so to speak.
01:07To do this, you go to the Channels palette.
01:11Delete the channel that's already there.
01:12No cheating, nothing up my sleeves.
01:13We're going to create a new channel that's called "Alpha1", and what we want to do is be able to see an alpha channel
01:20and the image at the same time.
01:21So I'm going to turn the eyeball on the Composite channel, and now we get a red overlay representing the Alpha channel.
01:28I'm going to switch to my Brush Tool- if I type in the letter B- and I'm going to paint with white on this mask area around the areas
01:36that I think are important.
01:37And you see that I have a nice, soft edge, so I'm going to get a transition
01:40between a low compression setting versus a high compression setting later on.
01:45So again, I've just painted a very quick mask around the areas that I deem to be important on this particular image.
01:51When I'm done painting my mask, I can simply turn off the Alpha channel and go back to the Layers palette.
01:56And I'm now ready to go to my friends, Save For Web, and here I am up on my 2-up display, before and the original, and here it is as a JPEG.
02:06I've set the JPEG quality to, let's say, a medium setting, and you can see that the faces here are getting pretty compressed--
02:15lots of artifacts around the edges.
02:17So I may be okay with how the rest of the image is being compressed, but I'm really unhappy with how those faces are getting optimized as well.
02:26So there's this little button here to the right of the Quality setting, and it's been here in actually several versions of Photoshop.
02:34Recently in, I think, Photoshop 7, we started giving you some feedback to let you know that there was actually a button in previous versions.
02:40If you moused over this little icon, it didn't do anything.
02:43At least now we give you the finger, so to speak.
02:46(That was funny...
02:47You'll get that on the way home.)
02:48So if you mouse over that icon and the little Tool Tip says, "Use a channel to modify quality setting".
02:53Well, let's click on that, and see what happens.
02:54It brings up the Modify Quality Setting dialogue box.
02:57I call it the channel-based optimization.
02:59And we need to move this down so we can see the faces, because that's what we care about.
03:03And you'll see that under the Use Category, there's a channel that's set to None.
03:08We're going to pull down and release on "alpha"- that Alpha channel that we created earlier-
03:13and you'll see that there's some black areas and some white areas and then some grey along the edges.
03:18And those are being represented here in this Quality slider.
03:21The black slider here represents the areas in black.
03:24The white slider represents the areas in white, and then the greys-- the transition between the two.
03:29So we decide that those faces are set to 30 percent right now.
03:34We probably should increase that Quality to maybe 70 percent.
03:38And you can see the detail of the face comes back.
03:41And we've really maximized the compression on the other areas, but it's limited to just the areas in black.
03:48If we decide that that's too much, you know, we can control the black areas independently of the white areas now.
03:54So maybe we want the black areas to be set to 30 and the face areas set to 70 percent.
04:02So there you have it, that's channel-based optimization.
04:04The trick is to create an alpha channel, paint in white on the areas that you care about, and the areas that you don't care about in black.
04:11And it's a way to set two different compression settings in the same image based on what you deem important.
04:16We're going to go ahead and cancel that and see a slight variation of that same technique.
04:23Here's a typically challenging image to save as the JPEG file format.
04:28If any of you have worked with type or an image, you know that solid color type on a solid color background creates a pretty hard edge,
04:36and JPEG just doesn't like hard edges.
04:38You tend to get very quick artifacting along those edges, even at high quality settings.
04:44So this was an image that I saw on MSNBC, and I thought it was a good image to kind of recreate and show you what I mean.
04:51So I've rendered this using actual type layers now.
04:55And we're going to go to the File, Save For Web command.
05:00And we'll set the JPEG quality into, let's say, low just to exaggerate, and you can see right away on the interior of those letters,
05:07they're not staying in the nice, crisp solid yellow as the original.
05:12And if we zoom up here, you can even exaggerate even further.
05:16I mean, that "G" is looking pretty gross.
05:19So again, we're going to go to that friend, the Channel-based Optimization setting.
05:23It's the little icon to the right of the Quality slider.
05:26Pop that open, and you'll notice that in Photoshop 7 in CS, we added a check box that says, "Use All Text Layers".
05:36In previous versions, you could use the the channel trick that I taught you.
05:39You would have had to make an alpha channel based on the type yourself, manually.
05:43Now you just simply click the All Text Layers check box, and it automatically creates a mask based on the type layers.
05:50So I can set the type areas- the areas indicated in white-
05:53to, say, be 80 percent, and you can see the compression on the type has been significantly reduced.
05:59And then the areas that the pixel image portion of the picture here can be set to a different compression setting-- let's say 30 percent.
06:08Again, just the way to set two different compression settings in the same image to protect certain areas from being-- having too much artifacting.
06:16Let's go and click OK, and we'll zoom back out.
06:19You can see the before and after side by side, and now that type is looking great and, of course,
06:25this image is at the appropriate compression setting there.
06:28Okay, so we'll go ahead and hit Cancel, and there you go- just a different twist on channel-based optimization.
Collapse this transcript
9. Loading External JPEGs
how to load at runtime
00:00>>Of course, file size of a SWF file is always a big concern.
00:03It's probably why a lot of you are even watching this title, to learn tricks on how to get your JPEGs as small as possible,
00:10and keep the quality and things like that.
00:12Well, another option at your disposal is to actually not embed the actual images that you want your users to be able to see
00:21or interact with in the actual container of the containing SWF file, but rather load them in from an external source when it's appropriate,
00:31when the user actually calls upon that image.
00:32So what am I talking about?
00:34I'll just give you an example.
00:36See, here, I have a starting file that we're going to build and make a little bit more complex,
00:40but the basic idea here is that I've got some thumbnails (cropped versions of a much larger image)
00:46and when the user clicks on the thumbnail, I want the larger version to appear in this area here in the grid.
00:53Now, you can imagine that for an image that's this big, this is 375 pixels by 500 pixels, depending on how many of those I have,
01:02and let's say in this photo gallery, or this online portfolio that I want to make or whatever, that could significantly increase the file size
01:10of your SWF file, even if you've done a good job of optimizing those large-sized graphics.
01:16So there's a way in Flash to load an external movie into your containing SWF file.
01:24And it's, you know, very similar to what you do with HTML.
01:27You just have a path to a JPEG somewhere else, and when the user clicks on a link or whatever, it loads it.
01:34So let's go and test this movie.
01:36You can see, you know, what it is that we're going to be building.
01:39So [Ctrl + Enter] or (Command + Enter) to test the movie, and you'll see that roll over the thumbnail and it fades into view.
01:46We'll learn how to do that as well.
01:48And when I click on the thumbnail, the larger version of it shows up over here.
01:53And we'll do the same for that image as well.
01:56So for your exercise files, we're going to add a couple of more thumbnails, learn how to make them into these opacity rollovers,
02:04and then add some very simple ones with ActionScript to make it so that when I click on the thumbnail,
02:10the large version of it appears over here.
02:13So let's take a look where this file is.
02:15Let's close it and not save changes.
02:18And if you've downloaded the exercise files, there's a folder "Images" here.
02:24And there's Chapter Nine-- "Loading External JPEGs".
02:26We'll go and open up that folder.
02:28And there's a start and a final.
02:30So the final has, you know, all five thumbnails with everything hooked up, ready to go.
02:34And then here's our starting file.
02:35So we'll go and open that up.
02:37We'll just change the view here to 80 percent.
02:40Now, what I've done just to make it clear-- let's go take a look at what else is inside that folder.
02:47I've got little thumbnails for all five of the images that we're going to be working with, and what I've done is I've cropped these
02:54from the larger image.
02:55So there's the thumbnail for image one, and there's the large picture one.
02:59I just find it more interesting. Rather than scaling the larger image down to smaller view, which makes it very, very hard to see the detail anyway.
03:07I just think people are more likely to click on the link if they just get a taste of it.
03:11So if I just see a subset of the image, I can get a much closer detail of that particular detail of the image.
03:17I don't know about you, but maybe it's subconscious- or not, maybe I'm just anal-
03:21if I kind of get an idea that I'm only seeing a portion of the image, I'm more likely to click on it to see the larger view,
03:28as opposed to seeing the entire image on a much smaller view.
03:32Maybe it's just me.
03:33Anyway, so what I've done is I've actually got two separate files-- one for the thumbnails that have been cropped, and one for each large-scale image,
03:42along with the start and final files.
03:44So that's the basic structure of the files for this particular exercise.
03:48Let's jump back into Flash, and what we want to learn how to do is import the JPEG, and convert it into this button here.
03:56Now, there's probably a lot of different ways to do this in Flash.
03:59If you're a real geek, you can do it all through ActionScript and probably not do it the way I'm going to do it.
04:04But for those of you just learning some new things with Flash and just want an easy way to do it, that's what I'm going to show you here.
04:11So first let's take a look at our Library.
04:13[Ctrl + L], (Command + L) will open up the Library.
04:16And you can see I've got some stuff going on for what exists here already.
04:21Let's go and import the next thumbnail, not to the Stage, but to the Library.
04:27And you'll see why we're doing that in just a minute.
04:30Just go to the files for this class, for this chapter, "Load External JPEGs", and we'll grab the next one, which is "thumbnail three",
04:40or "thumbnail three JPEG".
04:41Go ahead and click it open.
04:42Now that adds it to the Library, not the Stage.
04:45And if we click on the little thumbnail in the Library, we'll get a little preview of that.
04:49We're going to drag that from the Library onto our Stage.
04:54Now, when it comes in to the stage, it's just a bitmap, which means you can't change the opacity of that bitmap in Flash.
05:04In Flash, opacity is a property of a movie clip symbol.
05:08So in order to change the opacity of a bitmap, you need to wrap it into a container, or embed it into a container, called a symbol,
05:17and then change the opacity of that symbol.
05:20So that's why I had you put it into the library first.
05:23So we drag an instance of it onto our stage.
05:25And we'll just put that into position.
05:27We'll line it up with our guides here.
05:29And we want to turn this into a movie clip.
05:32So keyboard shortcut F8 will bring up the Convert To Symbol dialogue box, and we'll choose Movie Clip, and we're going to call this "thumb03",
05:42just to follow our naming convention of the rest of our thumbnails over here.
05:45Go and click OK.
05:47And we want the initial state, or view, of this button, if you will, to be slightly dimmed back or faded back into the background,
05:55so an alpha of, say, 25 percent.
05:58Now that it's a movie clip, we look in our Properties pane.
06:01You can see that we have this Color option, and it's currently set to None.
06:06And if I change that to Alpha, then I get a slider and it's defaulted to 100 percent.
06:11We can take that back down to, say, 25 percent.
06:17Great. So now I've got the initial state of this button that I'm going to be creating at the particular alphabet that I want it to be.
06:25Now to make this interactive so that it has an additional state, like an over state, we're going to wrap this movie clip
06:30in another container called a button symbol.
06:33So again, I'll press F8, choose Button, and this time we'll call it "maya03", again following the naming convention of the other buttons
06:43that I've already created.
06:45Go and click OK.
06:46Now the reason I put the bitmap in a movie clip, and then put the movie clip in a button, was so that I had the appropriate wrappers
06:53around to get the ability to change the alpha in this simplified way.
06:58So if I double-click on this button and take it into that movie clip's Timeline.
07:04I'll go ahead and open the Timeline, and you'll see that I have an up state, an over state, and a down state.
07:08And the up state is defaulted to the 25 percent alpha.
07:12I'm going to click in the over state, and create a key frame for the over state by default.
07:17If I hit F6, that copies the contents of the up state and puts it in the over state.
07:21And if I click what's in that over state now, it's that movie clip that has the bitmap inside it.
07:29So the movie clip is now currently set to 25 percent.
07:32We're going to take that back to 100.
07:34So now in the over state, the movie clip is set to 100 percent opacity.
07:38And in the up state, it's set to 25 percent opacity.
07:43Up here in our Timeline tree here, we'll go back to Scene 1, and we've done that.
07:48So let's go ahead and test the movie- [Ctrl + Enter]- and now you see as I roll over that new thumbnail, it's got that opacity effect that we wanted.
07:57So now the trick is to connect it to this container over here and tell it to load the larger image.
08:05What I've done here is just created what I call a placeholder container, and if I close the Timeline here and zoom out, it's- Good.
08:16You'll see all I've done is created. I drew a rectangle.
08:19Well, let's just go ahead and do it.
08:20We'll delete this one.
08:21I'll get my Rectangle Tool, and I'll set the color to black to match the foreground color, or Stage color, a stroke of none.
08:27And we'll go ahead and draw just a placeholder container within these guides that I've drawn.
08:33Let me get my pointer tool here.
08:35I'm going to select that rectangle that I've just created and turn it into a movie clip.
08:40We'll just call it "mycontainer".
08:43And we'll tell it to be a movie clip.
08:47Go ahead and click OK.
08:49This is just something that we can address now, so I've got this placeholder container-- it's called "mycontainer"--
08:56and we want to give that an instance name.
08:58If you want to be able to dress a particular movie clip through ActionScript, you have to give the instance
09:04of that movie clip an actual instance name.
09:06So we'll just call it "mycontainer" again.
09:11So now the trick is to connect the button that we've created with the "mycontainer", so that when we click on this button,
09:19the image that we want gets put into the placeholder container.
09:23So to do that, we're going to click on this image thumbnail-- the button-- and the easy way to do it is to go to your behaviors in Flash MX 2004,
09:33in your Behaviors panel.
09:35And at a behavior, there's a movie clip category, and there's one called either Load External Movie Clip or Load Graphic.
09:41Either one will work.
09:42I'll just go ahead and choose Load External Movie Clip.
09:45And this brings up a dialogue box.
09:48It's pretty simple.
09:49It says, "Type of the url of the SWF file you want to load."
09:51Now, back in my class files directory, you'll see that the image that I want to load, "picture03", is in the same directory, the same folder,
10:01as this "start.FLA" document, and the resulting SWF file that it's going to be generating.
10:06So all I need to do is put the name of the JPEG in that field.
10:10If it's in a specific directory, or a specific path, you would need to enter that path into this dialogue box here.
10:16So for here, we're just going to put, "picture03.JPEG", and it must be a JPEG.
10:24That's the only file format that you can use other than another SWF file, but you can't load a PING file or a GIF file
10:31or any other file format, with this load movie clip behavior, unless it's been wrapped in a SWF before.
10:40So "picture03"- and then down below, it says, "Select the movie clip that you want this picture03.JPEG file to load into".
10:48So we're going to choose the "mycontainer" object here that we created.
10:51So we'll go click OK.
10:52And now if I look in the Actions panel for that selected object- the selected button-
10:57you'll see that it automatically created some appropriate ActionScript for me.
11:01So on Release- there's a comma here- Load Movie Behavior.
11:05If this dialogue container- blah, blah, blah- you guys can see that
11:07it's basically saying when I click on this button, it loads "picture03" into this movie clip.
11:17And we'll go ahead and test the movie- [Ctrl + Enter]- and we'll see if it works.
11:22The rollover works.
11:23So when I click, I've got that movie, or that image, being loaded into that larger movie clip.
11:30So the behavior's nice, because it's just a simple click, and you just put the name of the file in.
11:35As you get more advanced, you realize that you don't need, necessarily, all this code.
11:39It can be a lot easier than this.
11:40So I'm going to go steal and take a look at this placeholder that we had at the beginning.
11:45It says, "On Release Container".
11:47We'll add "mycontainer" here.
11:51So the name of the movie clip that loads movie, and then the path to the graphic.
11:55So we can just copy this- click the map button.
11:59It's not wrong to keep it in here.
12:01It's just a couple of more lines of code than you actually need.
12:04And we'll just paste this in here and in this picture03.
12:07And again, we'll just test this- [Ctrl + Enter].
12:13That works, and that works.
12:18Great. So we'll do this one more time, and we'll just do it with the four thumbnails.
12:22So we're going to add another thumbnail to our Library.
12:28So Import To Library.
12:29Grab "thumbnail 4".
12:30Done that.
12:32Great. There it is in our Library.
12:36Drag that onto our Stage.
12:38Line it up like so.
12:40Good enough.
12:42It's a bitmap, so if I open up my Properties panel.
12:45You'll see if I click on this bitmap on the Stage, you'll see that it tells me it's a bitmap, and I don't have that alpha setting--
12:56that color option with the alpha to change the opacity of that, because I need to put that in a movie clip.
13:03So F8 again.
13:05We'll name this "thumb04".
13:08Click OK. It's now in a movie clip.
13:11It gives us the option to change the alpha to 25 percent.
13:20Good. We'll wrap that movie clip into another movie clip called a button symbol.
13:26F8, make it a button.
13:28And we'll call it, "maya04".
13:32Click OK. Great.
13:35Now, if we double-click on "maya04"-- that button here-- and go look at its Timeline, there's the up state.
13:41We're going to hit F6 to duplicate the contents of the up state into the over state.
13:47We'll select that movie clip on the Stage and change the alpha value to 100 percent.
13:53Great. There's the up state.
13:55There's the over state.
13:56Back to up.
13:57We'll go back to our main stage, or main scene, and again now we want to connect that thumbnail with this container.
14:04The instance name here is called "mycontainer".
14:07So if I go look at the Action for the previous button, I can just copy this "OnReleasemycontainer.Load Movie" and then print the season name
14:17and path to the actual graphics.
14:19We'll go ahead and copy that.
14:21Come back to that thumbnail, reopen the Actions palette, paste them in there, and we just need to change this to "picture04"
14:28because of the naming conventions that I've been using.
14:31Great. Let's go ahead and test the movie- [Ctrl + Enter].
14:35And then rollover, and then we click, and the larger one loads in.
14:41So if we go back to the final file-- we won't save this--
14:44and take a look at the file version, and you'll see that we've got five thumbnails all hooked up here.
14:54Test the movie-- [Ctrl + Enter].
14:56All the rollovers are working, and as I click the external file is loading into that placeholder container.
15:03So if you've got the concept, there's actually a much more advanced ActionScript that you can use to control a lot more
15:10of how this graphic loads into the container.
15:12If you know what I'm talking about, there's a class called the movie clip loader class.
15:17I'm not going to cover it in this particular movie, but as you get your feet wet and get comfortable with this whole concept of bringing files
15:24in externally, you might want to do things like animate the entrance of that movie at a pre-loader,
15:30just if it's a really large file, things like that.
15:33In another chapter, I'll actually give you an example of a file that someone has created for you to play with.
15:39So if you want to see a more complicated example of icon-load and so forth, take a look at chapter 10, and you'll get a better idea of what's possible.
Collapse this transcript
10. Loading External JPEGs on Steroids
photo gallery from Airtight Interactive
00:01>>So in Chapter 9, we learned how to load JPEGs externally into a containing SWF file.
00:06I mentioned that as you get more advanced, you can actually do all sorts of crazy things with that same concept--
00:14things like controlling the animation and loading behaviors and things like that.
00:18Well, I made a reference to an example, something that a web design shop has done out there.
00:22The name of the company is Airtight Interactive, and they've created this cool little slideshow utility, all done in Flash, called SimpleViewer.
00:31So in your class files folders, if you've elected to download those, Chapter 10 has something called SimpleViewer.
00:37It will open up that directory, and my version of what I've done with their utility is in SimpleViewer_Mike.
00:46What you download is some information about the companies and the "About SimpleViewer" folder.
00:50Let's go take a look at that.
00:51There's a link here to the Airtight Interactive webpage- SimpleViewer.htm.
00:56Go and double-click that, and that will take us to that page in your browser.
01:02And this just gives you a highlight of what SimpleViewer is.
01:05You can download it, download the files, and customize it yourself.
01:09Let's go take a look at what this thing actually is.
01:12So you can see it's a very dynamic user experience for viewing a folder of images.
01:18You got some nice animation here, some nice interactivity, some nice rollovers here.
01:22As I move my mouse in the larger image, I get an overlay for navigation, so I can just click.
01:28Now I can just click in the corner, and it knows not to show me the arrow anymore unless I move over to the other corner.
01:33So I can go before and after, back and forth.
01:37I can also use the arrow keys on my keyboard to just go the next and previous image.
01:43Watch what happens when I go even further.
01:45That whole column of thumbnails shifts over, which is kind of a nice effect.
01:50So anyway, the idea is that they've generated a SWF file and a text file for you to change to customize this and use your own images.
01:58So, AirtightInteractive.com in the utilities is SimpleViewer.
02:01Let's go check out how to customize this for your own images.
02:05So we'll go back up a level here, and in this SimpleViewer_ Mike directory, this is basically what you would download
02:13if you download the SimpleViewer yourself.
02:15There's an images directory and a thumbs directory, and that's where you would put your own images and thumbnails.
02:21There's a SWF files that you can't modify, that's all kind of wrapped up and contained, but there's the text file that will open up and show you how
02:28to modify some of the properties here.
02:30The rest of the files in this directory are a webpage that contains the Viewer.SWF, and then some things like Flash text icon
02:37to let the user know that they do need to have the Flash player in order for this to work correctly.
02:41Let's take a look at the images and thumbnails directory because there's an important thing to notice here.
02:46Open up the images and go ahead and open up the thumbnails as well.
02:53And what you should notice here is that the file names are exactly the same.
02:58Okay? You'll have a large version for your large pictures, your pictures folder.
03:03Your thumbnails will be some cropped version as well- whatever pixel dimensions you want.
03:09But it's just really important that the file names match.
03:13Two different directories, two different files-- but just matching file names in order for this to work correctly.
03:20So let's take a look at what I've done, to use my own images.
03:24We'll go ahead and double-click on the index on the HTML document, jump over to our browser,
03:29and we'll reload this so you can see the loading behavior.
03:31You can see my images fly in, and I can just start using my arrow keys or clicking on the image itself to advance from image to image.
03:39So this is very easy to get working for yourself.
03:44Let's go take a look at that text file.
03:46So there it is- "ImageData.XML"- and I've already got it open in a simple text editor.
03:52So here it is.
03:54SimpleViewer Data-- these are where the properties for the entire document are stored, and you can modify them so the maximum image dimension,
04:02that kind of make sense, just how big can your images actually be.
04:06My images are all a maximum height of 540 pixels.
04:09If I make that number smaller, then the images will be scaled down at run time.
04:14You can change the frame color and the text color if you actually like to have captions in the files later on.
04:19But you can change the text color and the frame color.
04:22It's defaulted to white.
04:24The frame width is defaulted to 10 pixels.
04:26Let's go and change that to 20, let's say.
04:28Stage Padding is how much space between the thumbnails and the large picture.
04:32Let's leave that at 50.
04:33And then you can change how many columns or how many rows of thumbnails.
04:36I'll just change that to three columns and two rows.
04:39The navigation position can be left or right, and the navigation direction can be left to right, or right to left.
04:46You put RTL if you wanted to switch that.
04:49We'll go and leave those alone.
04:51Then you'll see that the rest of the document is just an image tag for every image that you want to load into the viewer.
04:56This automatically takes care of both the thumbnail and the large-sized image.
05:01That's why the file names need to be the same.
05:03So you only have to enter the name in once between the nametags, and then if you want, you can put a caption in for each image as well.
05:10So for this image, we'll just type in, "Isn't she cute?"
05:15Go and save that file.
05:17Come back to our browser, and just refresh this and you'll see that we've just modified the entire experience-- the frame width is now 20 pixels.
05:27There's three rows and two columns now, and I've got a caption here.
05:30And everything else still works.
05:32So a very nicely done way to kind of see what you can do with the ability to load things in externally.
05:40And again, you're free to download it yourself.
05:42Just make sure that you leave the credit to the developers here.
05:47This is a link that takes you back to their website where other people can then download the SimpleViewer and use it themselves as well.
05:52Anyway, hopefully, that at least inspires you to see what can be done, and hopefully you like that.
Collapse this transcript


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 100,984 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,943 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