Import a bitmap at runtime, Apply a bitmap as a fill, Edit a bitmap in an external editor – Adobe Flash Professional CC 2014 v.13.0 User Manual
Page 474
1. In Flash Pro CC, select multiple bitmaps on the stage.
2. On the Properties panel, click SWAP.
3. On the Swap Symbol dialog, select the bitmap you want to replace all selected symbols/bitmaps with.
4. Click OK.
Import a bitmap at runtime
To add bitmaps to a document at runtime, use the ActionScript® 2.0 or the ActionScript 3.0 BitmapData command. To do so, specify a linkage
identifier for the bitmap. For more information, see Assigning linkage to assets in the library in
or
1. Select the bitmap in the Library panel.
2. Do one of the following:
Select Linkage from the Panel menu in the upper-right corner of the panel.
Right-click (Windows) or Control-click (Macintosh) the bitmap name in the Library panel, and select Properties from the context menu.
If the Linkage properties aren’t visible in the Properties dialog box, click Advanced.
3. For Linkage, select Export For ActionScript.
4. Enter an identifier string in the text field, and click OK.
Apply a bitmap as a fill
To apply a bitmap as a fill to a graphic object, use the Color panel. Applying a bitmap as a fill tiles the bitmap to fill the object. The Gradient
Transform tool allows you to scale, rotate, or skew an image and its bitmap fill.
1. To apply the fill to existing artwork, select a graphic object or objects on the Stage.
2. Select Window > Color.
3. Select Bitmap from the pop-up menu in the upper right of the panel.
4. To use a larger preview window to display more bitmaps in the current document, click the arrow in the lower-right corner to expand the
Color panel.
5. Click a bitmap to select it.
The bitmap becomes the current fill color. If you selected artwork in step 1, the bitmap is applied as a fill to the artwork.
Edit a bitmap in an external editor
If you are editing a Fireworks PNG file imported as a flattened image, edit the PNG source file for the bitmap, when available.
Note: You cannot edit bitmaps from Fireworks PNG files imported as editable objects in an external image editor.
If you have Fireworks 3 or later or another image-editing application installed on your system, you can start the application from Flash Professional
to edit an imported bitmap.
Edit a bitmap with Photoshop CS5 or later
Note: If you are using Flash Pro CS5.5, you need to use Photoshop CS5.1 to access this feature.
1. In the Library panel, right-click (Windows) or Control-click (Macintosh) the bitmap’s icon and select Edit With Photoshop CS5.
2. Perform the desired modifications to the file in Photoshop.
3. In Photoshop, select File > Save. (Do not change the file name or format.)
4. Return to Flash Professional.
The file is automatically updated in Flash Professional.
Edit a bitmap with Fireworks 3 or later
1. In the Library panel, right-click (Windows) or Control-click (Macintosh) the bitmap’s icon and select Edit With Fireworks 3.
2. Specify whether to open the PNG source file or the bitmap file.
3. Perform the desired modifications to the file in Fireworks.
4. In Fireworks, select File > Update.
5. Return to Flash Professional.
The file is automatically updated in Flash Professional.
467