Now, we do want to take a look at how these images are going to impact our swift file and I think the easiest way to do that is to compare a bitmap using a program with a vector. So we do have a vector on the stage that we can use to compare this bitmap graphics to. So, I am just going to take the layer containing my circuits and we will call that circuit scans, I will hit enter to change that name and we will add another layer for a gradient object so we will just called that gradient. And again, using the enter key to finish off the name. Let me see it just a little bit and that is Ctrl – or command – on the Mac and there you can see the extensive of our stage. In this gradient layer, I am just going to use the rectangle tool to draw-in a large rectangle and we will add a gradient to it by going to the fill color and we will select the radio gradient as black and white from the available swatches.
Now, I can just drag out the rectangle about the size of the stage. And if I select that, I will go back to my selection tool, I will double-click to grab the fill and the stroke around it and I will just set in the exact size so that we know it is 600 x 400 so that it is the same size as the stage. And I can type in the values of zero for X and zero for Y, enter that last one. And now, we got to setup exactly onto the stage itself. Now, I will just pull that circuit scans layer up above the gradient layer so we can see everything and now, we can check on those file sizes.
Let us make a quick change to the setting on the files so that it will show us the contents. I am going down to publish setting. Now, this panel that we are going to look at actually becomes available every time you export your movie but we will just take a look at it right now and set things up. The publish settings control how the Flash movie is being made and we will be going this settings later. But for right now, I want to take a look at one specific setting that generates size, report check box and turn that on. With this setting on, whenever you export your Flash file as a swift movie, it will generate a size report as text and pop it up for you to look at. And that is going to give us an easy way to look at the comparative elements inside of our movie file. So we will just click Okay to save that setting, I want to save my file so I am also going up to File, I will choose Save and we will save it into our lesson three folder as a Bitmap Lesson 3. We do not have to type the .flv. The program will automatically add that to the file name. Now, we are all set to export our movie so I am going back up to the File Menu, we will choose Export this time and Export Movie. Now the Export Option is going to create a swift file of our movie, it is automatically naming it the same thing and putting it into the same place where our file is. So I am just click Save and usually, it will pull up that same Settings Windows. We can see that our Generate Size report is already selected so I am going to click Okay and we should see our Output Window pop up.
Now, we have made the swift file, it is sitting out to our folder but this is the part that I really was interested in, when we choose the size report option, the program gives us a report of everything built into our movie file. In a typical Flash movie, that could be a lot of different elements but in our particular file we have only got three things on the stage and three things in the library. Now, I want to take a look at the lower section down here which list our bitmap graphic and I want to point of few things: the first thing is that it is only showing Circuit3 and Circuit4, we have Circuit2 in the library but the difference here is that Circuit2 is not being used on the stage. So the program will automatically ignore any element that you got sitting in the library and not used in the movie whenever you make a swift file. And that is really good because that means you do not ever really have to clean out your library of objects that you are not using anymore, you can keep them in there just in case y