3 Replies Latest reply: Feb 2, 2012 6:18 PM by Rob Dillon RSS

    How to make a big screen PLAY button for FLV which will fade away after the movie starts?

    nikolaig Community Member

      I wanted to make play button. Kind of this huge one in the middle of the screen as users used to see on YouTube.

      Here is the code for it which seems to work:

       

      play_btn.addEventListener(MouseEvent.CLICK, onClick_Play);

       

            function onClick_Play(event:MouseEvent) :void {

        SWF_flv2.play();

        }   

       

      The problem is it doesn't dissapear once the video plays. How shoudl it be done, the whole video has to go to another frame with no play_btn on it or there is a code which can make it fade away?