Transparencies in Flash

Posted on 2006-05-01
Last Modified: 2012-05-05
I'm wondering if it's possible to the following:

1) have a video of a person in flash of a person talking
2) the background behind the person is transparent in the flash movie, but is also transparent on the website (meaning you could see images, text, etc...  behind it)

Is this possible?  How can this be accomplished?
Question by:itech-sol
    LVL 37

    Assisted Solution

    You could shoot the video over the green screen and then remove that green screen from the software like AfterEffects or Premiere or Avid and save it as transparent QuickTime and import it into the Flash to convert it into the FLV...  ;)

    LVL 17

    Expert Comment

    Or you can use _alpha value to set transparency.

    BR Dushan

    Author Comment

    Will this be transparent behind the flash movie as well?  I've seen tutorials on how to make the movie transparent in flash, but not the flash transparent to the html page...
    LVL 17

    Expert Comment

    Yes. Its not for HTML. You can import what ever the things to flash and you can manipuluate those acordingly.
    If you have big files, then  you can seperate those to seperate swf files and you can load those when only needs using loadMovie command and you can unload those using unloadMovie command when you don't want those.

    Following solution showso how work with loadMovie and unloadMovie with LEVELS

    BR Dushan

    Author Comment

    I don't think I'm being clear about what I'm trying to ask.  I want to be able to place this flash movie anywhere on a page (on a layer above the normal page) and heve the background of the page show through the flash movie in certain areas.  Is this possible?  If so, how is it done?
    LVL 17

    Expert Comment

    I think CyanBlue's comment will help for this.

    BR Dushan
    LVL 34

    Accepted Solution


    You can use paremeter wmode="transparent" in object tag and embed tag

    here is complete code of object tag
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",0,0,0" width="766" height="640" align="middle">
                  <param name="allowScriptAccess" value="sameDomain" />
                  <param name="wmode" value="transparent" />
                  <param name="movie" value="myFlash.swf" />
                  <param name="quality" value="high" />
                  <embed src="myFlash.swf" quality="high" width="766" height="640" align="middle" allowScriptAccess="sameDomain" wmode="transparent" type="application/x-shockwave-flash" pluginspage="" />  


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
    The goal of the tutorial is to teach the user how to how to record live broadcast.

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now