How to mute audio in flash video clip programattically -


I have a site that has music near almost all the Flash site. I want to play a video commercial and I think It was that the video is still going on, while there is a way to create audio stops, and then when I exit the video area, I'm returning back.

Imagine video player is the name of your video player and the music player is the name of your MP3 player. You will have something like this.

  Video Player.AdventListener (mouse Event.Frol_Over, Video PlayerOver); VideoPlayer.addEventListener (MouseEvent.ROLL_Out, videoPlayerOut); Function Video Player Over (Event: Mouse Event): Zero {musicPlayer.pause (); } Function VideoPlayerOut (Event: Mouse Event): Zero {musicPlayer.resume (); }  

This is just an indication of the video player break () will stop your current sound channel that you are using in the player and store the current state in a variable, and then Start with () the sound channel will run, from where it was left (already saved position variable)

You want to stop the player, when you press any video control instead of press, it will There was only one idea.

Welcome to StackPowerFlows and Best Wishes! I think the frequently asked questions post something about the difficulty of the questions so that you want to take a look.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -