Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Date Date
Qty:
Subtotal
Promotions
Estimated Shipping
VAT
Calculated at checkout
Total
Checkout
Flash Professional Help / 

Transparency support | Flash Professional

Adobe Community Help


Products Affected

  • Flash Professional

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

What's covered

  • Transparent SWF files
  • Remove the background of imported bitmaps
  • Known issues with transparent bitmaps

To import a bitmap with transparency, create an alpha channel bitmap in your preferred editor (Adobe Fireworks, for example.) For information on working with alpha channels, see the documentation of your bitmap editor. Save the image as a 32-bit image, preferably PNG for best color fidelity. When you import the PNG file into Flash using File > Import, the alpha channel transparency is retained in Flash. If you're using Fireworks, see Using Fireworks and Flash Together for tips on exporting PNG files with transparent backgrounds for use in Flash.

Flash can also import transparent GIF89a images. See below for details. The JPEG format, however, does not support transparency.

To the top

Transparent SWF files

It is possible to make the background of a SWF file transparent while it is being played in a browser. For complete details and an example, see Create a transparent background in a SWF file.

To the top

Remove the background of imported bitmaps

While it's possible to import bitmaps with transparent backgrounds into Flash, you can also remove the background after the image has been imported.

To remove the background for raster images, do the following:

  1. Choose File > Import to Stage to bring the bitmap into your SWF file.
  2. Select the image.
  3. Choose Modify > Break Apart.
  4. Deselect the image.
  5. Select the Lasso Tool.
  6. Click the Magic wand in the Options pane of the Tools panel.
  7. Select the background areas of the bitmap image.
  8. Press Delete.
  9. Convert the remaining part of the image to a graphic or movie clip symbol.
To the top

Known issues with transparent bitmaps

Below are some known issues with preserving transparency in imported bitmaps.

Issue 1

Exporting or publishing static GIF with Transparent selected does not result in a transparent GIF. The background color is still visible.

Solution

Export as a looping 1-frame animated GIF with 'Transparent' selected. 

Issue 2

When you import transparent GIF images into Flash and placing them on the stage, the transparent image areas sometimes display as solid colors.

Explanation

Flash imports GIF files incorrectly depending on the background and index color of the file. If imported GIF files have a different index color than the transparent color, a solid background results in the image display in Flash.

Solution

Create GIF images with the same transparency and index color for use in Flash. When saving or exporting images in GIF format, you have the option to set the transparency and index color of the image. When these colors are set to the same RGB values, Flash properly renders the background color as transparent. For detailed information on this procedure, see your image-editing application documentation.

Issue 3

Transparent areas are "ghosting" in PNG images in Flash when the monitor is running at 16-bit color display. Ghosting is a semi-transparent image appearing in an area that is expected to be transparent.

Explanation

This issue is a symptom of the way Flash dithers colors for 16-bit display.

For displaying alpha areas over solid colors, Flash uses a single pixel value for the entire area of color. When displaying gradients or images, Flash uses a pattern of pixel values so that color changes are smoother. When there's an alpha channel over a solid color, Flash switches from a single pixel value to a pattern of pixel values. This switch causes the ghosting effect seen.

For a technical description of 16-bit color problems in Flash, see HTML colors are different from SWF colors.

Solution

There are three recommended workarounds to this issue:

  • Choose solid colors in which their RGB values are all a multiple of 16. With this color format, the alpha areas don't dither on 16-bit displays. This workaround, however, doesn't prevent ghosting at 8-bit display.
  • Change solid colors to gradients that contain a single color. This technique tricks Flash into always dithering the color and eliminates ghosting.
  • Break apart the bitmap and use the Lasso tool to mask out and delete the transparent portions of the image. This workaround eliminates the ghosted areas, and makes it less noticeable.

 

Keywords: transparency; transparent; background; gif; bitmap; import; alpha channel; PNG; GIF; JPG; TIFF; wmode; 16-bit; ghost; ghosting; tn_12804

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement