New Features in Flash MX / Templates
Subtitles of the Movie
Macromedia has included with every copy of Flash MX a set of common templates to get your project started off on the right foot. You can open the templates panel by selecting "new from template" from the file menu. When the window opens you'll see that there are several categories such as ad, broadcast, menus, mobile devices, presentation, quiz and so on. If you select one of the categories, as I've done here, you'll notice that the column labeled "category items" lists all the templates that are available for that category. In this case I have selected the "ads" category and they have different options such as the banner ad, which is the dimensions 468x60, a pop up 250x250 or 500x500 and so on. Each of these are standard dimensions that web sites that allow banner ads commonly use, and by selecting a template that is appropriate to the size of banner you are trying to create, such as rectangle 180x150, you can then click the create button, down in the lower right hand corner, and you'll be presented with the stage set to the size and dimensions of your banner. One nice thing about the templates that Macromedia supplies is that they give you instructions on how to actually use them. After clicking create you'll notice that the template is open to the size and dimensions that you requested; as you can verify in the property inspector, 180x150 is the size of the stage. Macromedia includes an instruction manual or guidelines that show you how to use their templates. This is what's known as the template instructions. If you create templates for distribution to others, you might want to follow Macromedia's example by including an instructions layer, which will not be seen or visible when the actual movie is published. Now let's look at what you would do to create your own templates. We'll close this window, create a new blank window. For this template we are going to simply create three layers that I almost always use when I am working in Flash, creating Flash movies. The first layer is a scripts layer, so I am going to create a scripts layer here by double clicking on the layer, calling it "sound"; adding a new layer, double clicking, calling it "buttons"; and finally adding a third layer and calling it "scripts". As you can see I've put the scripts layer on the top which is customary. This is the standard size of the stage that I want: 550x400, 12 frames/sec. Now let's go ahead and change the background to a subtle pale color, maybe a little more subtle than that, which is now going to be my default color. My template is ready so I will go to the file menu, I'll select "save as template"; for the name I will call it "Pale Yellow Layers;" my category, I am going to put it in the category I created previously, which is Developer and the description, I will state that it is a 550x400 pixel stage with a pale yellow background color. Double check that I have everything the way I want, click save and just like that my template is created. Let's go ahead and close this window and we can now verify that it was created properly by selecting "new from template" from the file menu, go into the developer category "pale yellow layers", here's our description we just gave it, and we'll click create. Just like that, the 550 background colors the way we wanted and our three layers and are ready to go. Using this method you can create templates for whatever you want. If you have a certain stage that will be repeated over and over, then create a template for it, especially for those repetitive tasks like setting up layers, saving the stage size and that sort of thing. y for those repetitive tasks like setting up layers, saving the stage size and that sort of thing.
Tutorial Information
| Course: | Macromedia Flash MX Intermediate Developer |
| Author: | Eric Hake |
| SKU: | 33424 |
| ISBN: | 1932072292 |
| Release Date: | 2003-04-15 |
| Duration: | 7 hrs / 93 lessons |
| Captions: | For Online University members only |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 