ActionScript 1/2 :: Mute/pause Sound On Multi Audio Players In One Page

Aug 28, 2010

im using this player [URL] for my site and i am also using [URL] i have 2 instances of advanced player in one page and the backround player. I want to pause the other players when one of the 2 advanced players are playing, something like that: if myadvancedmp3player1 is playing (if i press the play button), pause myadvancedmp3player2 and pause backround_music. if myadvancedmp3player2 is playing, pause myadvancedmp3player1 and pause backround_music

[Code].....

View 5 Replies


Similar Posts:


ActionScript 3.0 :: Pause And/or Mute A Sound?

Sep 2, 2008

i'm trying to pause and/or mute a sound, with little success.i've found out that something like 'sound.play(pausePosition)' might fail on sound-clips with low sampling-rate.however when i try to mute a sound with a 48000Khz sampling rate it simply won't work.

i've tried both -

soundChannel.SoundTransform.volume = 0
- and -
SoundMixer.SoundTransform.volume = 0

however both won't mute the sound and when traced return 1.

View 1 Replies

ActionScript 2.0 :: Slowly Mute The Sound Gradually Step By Step Up To The Loading Of The Home Page

Nov 7, 2009

I have a flash template in Flash AS - 2 , with a initial sound that triggers at the very beginning in full sound. Now what I want to slowly mute the sound gradually step by step up to the loading of the home page. How can I do that? Worthless. I attached a very simple fla with sound. There is a stop action and at this point the home page is loaded.Now how can I mute the sound slowly upto this point.

View 5 Replies

Multiple Flash Players - First Pause And Stop Then Start

May 1, 2010

I have a flash player that plays an MP3 from my website. On one of my pages i have around 20 of these flash players embeded on the website. i've seen on other websites so when the user presses the play on flash player #1 and then while that's playing, they press play on flash player #2, it would first pause and stop flash player #1 and then start flash player #2 and so on.

View 4 Replies

Object Needs In Flash Audio Players

Dec 30, 2011

I'm interested in why flash audio players need <param> parameters, when without them and only with <object> they work nicely.I have also read many posts here about audio flash players, but I can not find any good one.

View 1 Replies

ActionScript 3.0 :: Audio Still Players When FLV Has Been Removed?

Aug 1, 2010

I'm having a bit of a problem here. My audio is still playing when my swf is removed. I tried using unloadAndStop(); but this isn't working for me (either that or I'm not putting it in the correct spot. The code I have is from a template I downloaded, I didn't actually write all this. with this:

Code:
import fl.containers.UILoader;
import caurina.transitions.*;

[code].....

View 5 Replies

ActionScript 2.0 :: Create A Pause Button That Will Pause Everything On The Screen Including Movieclips/audio?

Mar 26, 2007

I am trying to create a pause button that will pause everything on the screen including movieclips/audio. Right now I can't figure out how to pause the movieclips.

View 2 Replies

ActionScript 2.0 :: Add Mute Sound And Unmute Sound Script In A Single Button?

Sep 21, 2011

how to add mute sound and unmute sound script in a single button?

View 2 Replies

Multiple Flash Audio Players Embeded In Tooltip?

May 17, 2009

I am trying to embed audio players in a drop-down content tooltip. I will eventually have lots of these on a page.My problem is this:When I close the div the sound continues to playI can also make them play at the same time.I would like them to autostart when you open the div, but when I do that they both start at once before you've even activated the drop-down content. I would rather not do the whole site in flash.

View 4 Replies

Javascript - Free Audio Players For Website Streaming?

May 7, 2010

Are there any free audio players that I can use in my website? Are they customizable?

I've heard of Soundmanager 2. It's a flash based player with a javascript front-end.

Are there any other free players like that?

View 2 Replies

Actionscript 3 :: Mute The Sound And Still Get Sound Data From SoundMixer.computeSpectrum?

Jun 25, 2011

I wrote something to capture sound from my microphone. I can visualise the sound data with SoundMixer.computeSpectrum.is there a way to mute the sound and still get sound data from SoundMixer.computeSpectrum?Now I have this:

sc=son.play();
var t:SoundTransform = new SoundTransform(0, 0);
sc.soundTransform = t;

but I do not get any data. if I pump up the volume, data comes through again(I need to mute it because it will echo otherwise).

View 1 Replies

ActionScript 2.0 :: Can't Get It To Just Pause/mute The Music?

Sep 2, 2007

i have a problem with my music palyer i can't get it to just pause/mute the music. here's the code.

Code:
bgSound = new Sound();
bgSound.loadSound("ChrisBrow-RunIt.mp3",true);
playIt.enabled = false;

[Code]...

View 1 Replies

Using Multiple Players On A Single Page?

Nov 22, 2010

I'd like to use the same music player displayed multiple times on the same page, one for each song. But when songs are played, I want the existing play to stop. For example:

song1
song2
song3

I click to play song1, while it's playing, I decide to play song3 instead. Based on the default setup, song3 will start playing while song1 continues to play. I'd like song1 to stop when song3 starts.

View 2 Replies

ActionScript 3.0 :: Flash - Add A Play/pause Btn That Will Pause Both Pictures And Sound?

Dec 16, 2010

I have a timeline of 30 frames, each it's own mc (page01_mc, etc.). In each mc I show a picture or two and hear narration.I have a first, prev and next nav on the main timeline. I need to add a play/pause btn that will pause both pictures and sound. I assume I do that in each mc, but do not know where to find the code.Here is what is in each mc now:

var mySound:Sound = new Sound();
mySound.load(new URLRequest("english/Intro01.mp3"));
mySound.play()

View 1 Replies

ActionScript 3.0 :: Globally Mute Audio From Javascript?

Oct 19, 2010

I just started developing flash recently and I need to globally mute the audio in an swf by javascript ... I've got the following functions in my AS3 already.

Code:

function mute():void
{
var st:SoundTransform = new SoundTransform(0);
SoundMixer.soundTransform = st;

[code]...

Do I need to use addCallback() somehow to trigger this through javascript?

View 4 Replies

Flash :: Edit FLV And Mute Audio On Given Frames?

Dec 8, 2010

I've been given a avi file that I've turned into an flv and now need to create two versions of that flv, one with all the audio and one with a small section of the audio removed (its narrated and we need to remove the mentioning of a specific item).

I know I can import an flv into the flash timeline but am not sure how to kill the sound for a given portion of frames,

Was considering redoing the flv as two separate flv's, one with video and one with audio and then putting them into the timeline and cutting the audio up, but I would love a cleaner way, preferably with ActionScript

View 1 Replies

ActionScript 2.0 :: How To Get Sound Bars Effect Used With Music Players

Sep 21, 2004

How could you achieve the effect of "sound bars" used with music players with only AS. (if its possible) Here's an example of what I ask, it appears once the music starts to play and on the far left of the music player. I want to create such effect and be able to make it smaller until it reaches certain point once I drag the volume slider like on the example before...

View 3 Replies

Media Server :: Are Players All SWFs That Are Embedded In Page?

Oct 13, 2010

As I am getting more familiar with FMS and understanding it better with the help of the wonderful contributors here on this forum, I am now curious about players.Players such as Strobe and REOPS to be specific.Are players all SWFs that are embedded in a page? I have seen some players here on the Adobe website that are stand-alone smaller windows that appear over the page. How is this done?So Strobe and REOPS...are we talking SWF code that is editable? You can see I am quite new to this. I'm on a roll, however and wish to continue understanding and learning.

View 6 Replies

ActionScript 3.0 :: Audio Toggle - Mute / Play Music Again In SWF?

Dec 30, 2011

I call it a hiccup because the code works; but it's backwards. When I hit the audio button it plays the music and when I hit it again it stops the music. I wish for the music to play automatically when you enter the SWF and then you hit the button to mute the music if you wish; and then hit the button again to play the music again.

Here is the code I have:
toggleButton.addEventListener(MouseEvent.MOUSE_OVER, rolloverToggle);
toggleButton.addEventListener(MouseEvent.MOUSE_OUT, rolloutToggle);
toggleButton.addEventListener(MouseEvent.CLICK, toggleClick);
toggleButton.buttonState = "On";
var song:Sound = new TitleMusic();
[Code] .....

View 7 Replies

ActionScript 1/2 :: FLVPlayback: Disabling VolumeBar, Seek, Play/pause, Mute, Fullscreen Buttons?

Feb 15, 2012

Is there a way to disable/enable the buttons in FLVPlayback component? I got a flv files loaded into a fla file and the swf file then loaded onto the main fla file which where I want to disable/enable the FLVPlayback button at certain time.

View 7 Replies

Flash :: Multiple Video Players On W3c - Valid Page Is Slow

Apr 14, 2010

I have a web site that displays a column of flash videos. The page is w3c-valid. The problem is that the page loads very slowly and sometimes crashes my web browser. Until the page is fully loaded, the videos are slow to respond and play. Is there a way to make these videos load their preview images only? What should I do to speed the page up? The videos are 360x264.

View 2 Replies

Flash :: Limit A Page With Multiple Mp3 Players To Play One At A Time?

May 29, 2010

I am working with the open source flash player at [URL].. and I am trying to figure out how to limit one sound file at a time. I know this has been done on a number of sites but I am unsure how to approach it.

Scenario: A page has five different instances of the flash player. The user is litening to one song but clicks on another to listen to it.Goal: The first audio file automatically stops while the second starts playing instead of both playing at the same time.

Do I need to have some sort of javascript handler than interacts with the swf or something?

View 1 Replies

Actionscript 2.0 :: Multiple Mp3 Players - Stop Button , Pause Button When Choose A Song The Previously That Play Will Be Muted

May 8, 2010

i started with a Multiple mp3 players project and i more complicated with that - as you see in the picture i try to do that when click on the play button for every song this switch the song that selected -first preloading + percentage the mp3 file and after play it immediately and of course there is stop button, pause button when choose a song the previously that play will be muted

View 4 Replies

ActionScript 2.0 :: Creating Volume Mute Button For Audio Player?

May 2, 2008

I'm creating a mute button for an audio player that I pieced together, and it seems to be working alright except when I advance to a new track. If the volume is NOT muted and I click a new track it's fine, but if the volume is muted (i.e. at "0") and click a new track it remains at 0 and won't un-mute when I click the button.. though if I click the button to un-mute it and then select a new track it's fine, so I think there's something in my playSong() function that's interfering, I just can't tell what it is.

Code:
stop();
Player Variables
volume = 100;
current_song = 1;
[Code] .....

View 1 Replies

IDE :: How To Mute The Sound

Sep 25, 2005

I'm working with the FLVPlayback component but the mute functionality is a bit of a black box to me and it seems Macromedia has forgotten to mention anything about it in the help files.I'm trying to mute a playing movie with actionscript. The closest I got is using myFLVplayback.volume = 0. However volume 0 is not the same as mute and pressing the mute controller will do nothing and leave the volume at 0.I can use the volume slider but I can't stand not knowing how to mute the sound through actionscript.

View 6 Replies

ActionScript 2.0 :: Mute Audio Embedded In A Button's Timeline From The Main Stage?

Oct 26, 2007

how to mute a audio embedded in a button's timeline from the main stage

View 1 Replies

As2 :: Mute Sound In Flash?

Feb 10, 2011

I want to mute the sound not pause....i already using setVolume script on other buttons.

View 1 Replies

Professional :: Multi-channel Audio Playback?

Jul 11, 2009

I have an mp4 file that i made and i made it 7.1 surround sound, and i'm pretty sure that this 7.1 surround sound works, as it can be played in VLC. i'm using netstream to load my files now. How do i make it so that flash can playback all 8-channels of sound?

View 3 Replies

CS4 Media Encoder Audio - Audio Sound Stops After A Few Seconds From The Beginning?

Aug 4, 2009

I am converting from .FLV's to .F4V. Video outputs fine but the audio sound stops after a few seconds from the beginning.I have tried many different settings for the audio with no luck. Also, tried on a colleague's machine who is running CS3, which works fine, so something is buggy in CS4...

View 1 Replies

ActionScript 3.0 :: Can Mute MICROPHONE Sound

May 30, 2009

can i mute MICROPHONE sound using AS3?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved