How to fade a video clip in Adobe Flash CS4?

Posted on 2009-12-27
Last Modified: 2012-08-13
I have a .mov video file I've encoded into a .flv format and imported into the Flash library.  I've placed an instance on the stage.  How can I make the video, while it is playing, fade out?  I've played around with all the tweening capabilities and it seems I can only get it to fade out if I convert it to a "movie" symbol and create a tween, changing the alpha from 100 to 0 at the end of the tween.  That works fine, but the video does not play during the fade.  The video does not actually play during the fade out, just the first frame is displayed throughout the fade.  In actuality a new instance of the video movie symbol is added to the stage, rather than implementing the fade at some point in the middle of the original video on the stage.  Any help is MOST welcome.
Question by:HarmonyClaire
    LVL 14

    Expert Comment

    A tween works. How are you doing it? You may be doing it wrongly.

    Please tell me how are you loading the video first, embeded video, loaded video or what?

    Please say in detail.

    I tried all of them and they work, you may be doing it wrongly though.
    LVL 19

    Accepted Solution

    You could place a rectangular shape *above* (higher layer) the video in the timeline, and make it the *exact* dimensions of the movie playback window, and position it precisely over the video so that it obscures the video.

    Then, when you need to fade, bring the alpha of that rectangle up to 100. Make it a white rectangle if you want to fade to white, or a black one to fade to black.

    If your video has sound you will also need to lower the volume of the sound to maintain the illusion that the video is fading out.
    LVL 14

    Expert Comment

    Actually I don't think the illusion is needed, fading videos work perfectly in Flash, I believe the asker just didn't do it properly.

    Author Closing Comment

    This is an excellent solution because it is very flexible.  Regarding whether it can work natively without such a technique, I've tried it over and over with all different kinds of configurations.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
    While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

    734 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

    23 Experts available now in Live!

    Get 1:1 Help Now