|
Free Open Book
Macromedia Flash 8 Bible |
Importing and Copying BitmapsFlash has the option to import bitmaps directly to the document Library, in addition to the standard option of importing to the document Stage. When a bitmap file is imported to the Stage, it will be added to the Library as well. To import a bitmap into Flash, follow these steps:
Figure 16-4: The Import dialog box as it appears on Mac OS X. You can import multiple files in the same batch by selecting them from the file list before clicking Import. The important difference between Import and Import to Library is that the latter option places the asset directly into the document Library without placing an instance on the Stage. Because Flash offers full support for the PNG image format (including lossless compression and multilevel transparency and some Fireworks filters), PNG is an ideal format for images that you intend to import into Flash. The PNG format has two types: PNG-8 and PNG-24. Generally, only PNG-24 images support 24-bit color and an alpha channel, but the file sizes can often be prohibitive. Macromedia Fireworks makes it possible to create PNG-8 files with transparency for import to Flash.
Importing SequencesWhen using the Import to Stage option, if you select an image from a series of images in the same storage location that include sequential numbers at the end of their filenames, Flash prompts you to import the files as a sequence. If that's what you want to do, click Yes in the dialog box (shown in Figure 16-5) to have Flash import all the files and place them in numeric sequence on successive keyframes of the current Timeline. Otherwise, click No, and only the single file that you've selected will be placed on the Stage.
Figure 16-5: You can import images in a numbered sequence and place them on successive keyframes automatically using the Import to Stage option. If you are importing a series of stills to be used sequentially to create animation (stills from a video sequence, for example), this feature can save a lot of the time you would spend placing and ordering images manually. The most efficient workflow is to create a Movie Clip symbol before importing the images, so that the sequence can be placed directly on the Movie Clip timeline. This method creates an animated element that can easily be placed anywhere in your Flash project. If you have already imported a sequence to the Main Timeline and decide that it would be more easily managed as a symbol, simply create a Movie Clip, and then cut the images from the Main Timeline and paste them into the Movie Clip timeline.
Although sequential import is not an option when using Import to Library, it is possible to manually select multiple images for import while using either of the Import dialog boxes. In order to bring more than one file into Flash in the same batch, Shift+click to select multiple items in sequence or use Ctrl+click (or z+click) to select multiple nonsequential items in the file list of the Import dialog box. Copying and Pasting a Bitmap into FlashHere's how to use the Clipboard to import a bitmap into Flash:
|
Main Menu |
| 500 Juegos Gratis | 500 Giochi Gratis | 500 Jeux Gratuits | 500 Jogos Gratis | 500 Kostenlose Spiele |