How to make a button large screen PLAY for FLV that will disappear after the film begins?

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

Here's the code that seems to work:

play_btn.addEventListener (MouseEvent.CLICK, onClick_Play);

function onClick_Play(event:MouseEvent): void {}

SWF_flv2. Play();

}

The problem is that's not disappear once playback of the video. How do we need to, all video must apply to another setting with no play_btn on it or there is a code that can make disappear?

You can use a Tween to change the alpha of this button property. Something like this might work:

var buttonTween:Tween = new Tween (play_btn, "alpha", Regular.easeOut, 1, 0, 1, true);

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • Helps the implementation of battery meter display

    I just got a Soundbot model SB520 bluetooth speaker. The manual explains the life of the battery can be controlled via a display of counter battery on iOS devices. They don't tell you how to do it?

  • Dashboard error

    I get an error message "dash error has occurred" when I try to open my LEXMARK S305 printer who prviously worked perfectly

  • Access to all the local images

    Hello, I'm doing a photo album app, according to which the application will automatically retrieve all the photos in the film, but also other albums and view it. I added the authorization in the file descriptor-bar and I tried to use CameraRoll API t

  • Should what program I use to combine pictures of me and my children?

    I am looking to buy a product of Photoshop that will allow me to copy / paste pictures of children on a single photo and me.  I don't know which products will allow me to do this easily.  I used Photoshop before, but I need to redeem and don't know w

  • How can I copy a sequence and all the duplicate items?

    I make a film of learning with key issues such as text captions.Legend sequences consist of:Text that are animated independently for two titles appear one after the other, then both remain on the screen.Matte colour backgroundA logoThere are therefor