ActionScript 3.0 :: Stop Only Flv Video Sound And Continue The Bg Music To Play

Sep 3, 2010

I made a webiste with bg sound home, portfolio, gallery, contcts. This  are the links. when click portfolio, which contain a flv file, when  clicking the flv file bg music stop and video will play smoothly.But if i  navigate to other links the sound from the flv remains their and my bg  music not playing also.. one code SoundMixer.stopAll();  i got this code  b4, it vil stop all sounds... i dnt need to stop the background music, i  need to stop only my flv video sound.. there's a bg music playing, when  entering to the portfolio section thers a flv video vth sound. i can  stop all other sounds ven playing this flv video but i cant stop this  sound ven navigating to other sections and i need to continue the bg  sound ven navigating to other sections...

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Music To Continue Playing But The GetURL Function Seems To Stop The Music

Dec 13, 2005

When the movies performs the getURL action, I want the music to continue playing, but the getURL function seems to stop the music at frame 152 (where the getURL action is placed), when I wanted the music to continue to frame 257 (the end of the movie). I hope I've explained this clearly

View 3 Replies

ActionScript 3.0 :: Music To Stop And Continue Once Leave That Page

Oct 11, 2011

I created a flash site with four pages with music playing in the backround. on one page I want the music to stop and continue once you leave that page.

View 2 Replies

ActionScript 3.0 :: Slideshow - Sound Do Not Continue To Play On The Next Or Previous Frames

Jun 24, 2009

I am having problems with a flash file i am working on. Basically i have created a slideshow/ebook that includes two buttons that move forward and backward on the timeline. On each page or frame of the main timeline are other buttons and movie clips. Anyways, I am trying to figure out how ,for example , if the user flips forward quickly through the slideshow that the sounds do not continue to play on the next or previous frames. Everything else on the file works great , it's just a matter of keeping the sounds from overlapping.

View 2 Replies

ActionScript 2.0 :: Stop One Sound With Background Music?

Apr 20, 2011

I'm triying to stop a sound of a button, while you hear a background music. The music is assigned in the timeline for the animation. When the animation stop at a specific frame (activity), the button are showed. At this point is all ok.

I don't understand... I am very specific to wich sound must stop. Is there a bug?

In AS 3.0 is more easy when you use the SoundChannel, but in AS 2.0 ?

View 3 Replies

ActionScript 3.0 :: Play Music When Key Is UP Stop When Down?

Jul 17, 2009

The following code plays music when the H key is being pressed and when is unpressed the music stops...the problem im having is that its re-playing the music for every milisecond the H key is being pressed so its creating an endless loop of the sound1, how may I change the code to only play once the sound1 while the H key is being pressed and stop when is unpressed[code]...

View 1 Replies

Create A Button To Stop And Play Music?

Dec 23, 2009

I am using flash CS4 AS 2.0.creating a button to stop the music on click and play the music on the next click. Sort of on and off music.

View 12 Replies

ActionScript 2.0 :: Play And Stop Buttons With Music?

Sep 15, 2007

i want to create a small music player (that play only 1 song) which contains- a Play button - button symbol a Stop button - button symbol a title (show what song is currently playing) - movie symbol music - i guess movie symbol

the only problem i couldnt solve (the rest are working fine) is that the play and stop buttons arent working. the scripts i wrote for them are:

on(press){
a.play();
}

[Code].....

respectively, while "a" is the instant name for the symbol which contains the song.

i think i figured out that the problem is that in the music symbol there is only 1 frame (which contains the song- i just went to frame #1 and dragged to the edit screen the song from the library).

View 2 Replies

ActionScript 2.0 :: Stop One Music File When Play Another?

Nov 23, 2009

I'm developing a band site and currently have all the song clips playing and stopping via start/stop buttons. The issue is that all of the songs can be playing at the same time if you don't manually stop the other songs. The idea would be to have a song stop automatically if a user pushed play for another song.This is all the AS I have on the button right now:

Code:
on (release)
{

[code].....

View 1 Replies

ActionScript 2.0 :: Use A Sound Controller In A Flash Movie To Play Music?

Apr 9, 2004

I am trying to use a sound controller in a flash movie to play music and I am using loadMovieNum to load the sound controller movie at a particular point in the main timeline. I get the sound player to load up fine and the sound loads fine when a user presses play, but about a minute through the song the sound starts to play again, overlapping the song that is already playing.

This happens with no user interaction...it just takes about a minute. I also noticed that it is only when the sound player is within one of the movies. It doesnt happen when the sound player is all by itself. Is there something in my movie that is making it loop over?

View 2 Replies

ActionScript 2.0 :: Stop Website Music / When Clip Starts To Play

May 18, 2010

when you play the short clips the sound of the site keeps playing in the background and the sound of the video plays over the top. Is there anyway to stop the website music when the clip starts to play and when stop or the clip finishes the website sound starts to play again. So you know what I mean the website is URL...

View 1 Replies

Actionscript 3.0 :: Multiple Play/Stop Music Buttons On One Page

Apr 20, 2010

What I am trying to do is have multiple play/stop buttons on one page. I've been watching tutorials trying to figure out the best way to do this, but it seems there are so many different ways. I am making the band's name as the play/stop button (one color as play, a different color as stop). I've successfully done that to one button. What I'd like to be able to do is add anywhere from 3-6 songs (all different bands/buttons) per page.

Also, if one song is playing and another song is clicked, I would like to stop the first song and start whatever one is clicked so there aren't multiple songs playing at one time.

And if it's not too much to ask, once one song is either done playing or another is clicked, if it could go back to the first state of the button, that would be amazing.

I will paste my code below for the button I have. If there is a simpler way to do it, I'm totally open to that. Like I said, there seems to be so many ways to do everything, I'm not sure which is best.

var loadSnd:URLRequest = new URLRequest("Song1.mp3");
var thisSnd:Sound = new Sound();
var sndTrans:SoundChannel = new SoundChannel();
thisSnd.load(loadSnd);

[Code]....

View 3 Replies

ActionScript 2.0 :: Play / Pause Buttons To Stop Then Start Music?

May 23, 2005

How can I get the pause button to stop sounds and music, and the play button to start them up again? As of now, it only stops the animation, and lets the music continue.

View 1 Replies

ActionScript 1/2 :: Fading Background Music - Video Sound Also Turned Off

Sep 20, 2010

I have a flash file with a background music sound object, and I have a video player at a particular section on the timeline. When the playback head goes to the section with the video player, I would like the background music to fade, but of course, I need the volume to be up for the video. The code I have works find to fade the audio, but the problem is that the video's sound also turns off.

This is the code at the beginning of the timeline:
_global.volumeVar = 40; //Stores the current volume.
bgSound = new Sound(this); //This block works finebgSound.attachSound("music");bgSound.start(0,99);
bgSound.setVolume(0);
[Code] .....

Further down the time line, in the video player section, there this code, which works to fade the sound, but seems to turn off the video, too:
nInterval = setInterval(fadeOutSound, _global.volumeVar);

View 5 Replies

ActionScript 2.0 :: Play Sound/stop Sound Button?

Feb 13, 2007

i want to make a single button to play a sound, and if pressed again, stop the sound. and if pressed again, play the sound, and so on...
i know it has to be made with a boolean variable, true/false, but i just can't figure out how.

View 13 Replies

ActionScript 3.0 :: Audio Controls - Add Play/stop Music Button On The Page?

Jun 15, 2009

I am trying to add a music track to some of the pages of my flash website, I imported the mp3 file to the library and dragged it on the stage and it plays when I test it. I want to add play/stop music button on the page, I dragged buttons from the video components to use, but I have no idea where to start with the code??

View 1 Replies

Professional :: Adding Music - Stop And Play Buttons On Main Page

Nov 9, 2010

I have my mp3 audio clip and made my play and stop button. I am using cs4 and as3. I want to have the play and stop button on my main page but still have the music play when the users clicks onto one of the buttons which takes them to a new page.

View 6 Replies

Recommend Simple Streaming Music Player With Just Play - Pause And Stop?

Feb 24, 2010

I just need something simple, where there is only pause, play and stop buttons. I usually load the music within the flash movie and play from there, but I would like to build one where if you press play, the music loads and plays streaming on the spot. I have got a couple of more complex streaming style mp3 players but I would like to use a simplified streaming version. Any recommendations or code that I can just add to a button?

View 1 Replies

ActionScript 2.0 :: Mute Background Music To Play The VIDEO

Sep 2, 2008

how to change this on my 'flash template' and how to successfully mute the background music as my VIDEO starts to play.

I have uploaded my FLA file so that you can see what the problem is:

[URL]

The background music is set as per TEMPLATE that I got. I would like to add a quicktime movie to the website, under the page titled "TRAILER" - and have tried to do so myself by adding the QUICKTIME to the project through another SWF that I got elsewhere (a different 'template' so to speak).

The original quicktime file that I wish to add is available here:

[URL]

I'd like to be able to stop the background music when the viewer visits the TRAILER page of the site, as that is when the trailer starts to play. The music can stop abruptly, that is fine.

I'd like for the music to continue to play (either from the start, or where it was stopped) when any other pages are visited after watching of the trailer.

View 9 Replies

IDE :: Play Music File Once Only On Click Of Play Button Until Music Stops

May 1, 2009

Using Macromedia Flash Professional 8.

I have a website banner made in Flash. I have added a music file to it and Play and Stop buttons. I also have a Replay button to replay the banner animation once it stops.

I have put the music on a separate frame so that it will not play automatically when the banner loads. I have made the Play button direct to the frame the music is located at so that when clicked, it will go to that frame and play the music file.

The problem I am currently having is that if I click the Play button more than once, it will play the music file again on top of the current play-through.

So if I click Play, the music will play. Then if I click it again, the music will play again, but on top of the first instance of the music, so two instances of it will now be playing and it sounds horrible.

I would like to make it so that if you click Play when the music is playing, it will not play the music again until the music has stopped.

View 6 Replies

ActionScript 2.0 :: Sound.onLoad + OnError - Making Music / Video Player In Flashmx2004

Dec 23, 2004

i'm making somekind of music / video player in flashmx2004. it plays streaming mp3 en flv files. random people can put a link into the players database. ofcourse there will be some that insert a dead link, now i want to check with actionscript (1.0) if the link is dead and if so, the player automaticly will skip this track. this is what i've got allready to load te streaming sound:

[Code]...

View 1 Replies

ActionScript 3.0 :: Music Continue Through Frames?

Apr 24, 2009

My problem is that whenever I switch frames the music in my flash project restarts and overlaps and sounds incredibly crappy.Is there any way I can make it so that my music opens on my first frame and continues playing through all subsequent frames?

import flash.media.Sound;var channel:SoundChannel;var soundisplaying:Boolean = false;var pausePosition:int = 0var sound:Sound = new acoust();channel = sound.play();
playbut.addEventListener(MouseEvent.CLICK, playsound);stopbut.addEventListener(MouseEvent.CLICK, stopsound);function [code].....

View 1 Replies

Actionscript 3.0 :: Music Continue Through Frames

Apr 25, 2009

I have been looking for a solution to my problem for 3 days and after finding almost nothing on the subject I've decided to seek help in this forum. My problem is that whenever I switch frames the music in my flash project restarts and overlaps and sounds incredibly crappy. Is there any way I can make it so that my music opens on my first frame and continues playing through all subsequent frames?[code]...

View 1 Replies

ActionScript 2.0 :: Create A Flash Music Player - Play - Pause - Stop - Volume And Show The Track?

May 12, 2008

the player needs to have a play, pause, stop, volume and also needs to show the track I'm currently listening to (play list).

View 1 Replies

Flash :: Difference 'Music / Video Is Loading' Vs 'Music / Video Is Buffering'?

Dec 1, 2011

What is technical difference between buffering and loading ? Say, i have a video, which is showing loader bar in progress. Then what's happening exactly ? Buffering or Loading ?

View 1 Replies

Add Video Play / Stop / Pause Button To Flash Video

Dec 7, 2009

I have created my first flash video and wish to allow the visitors to play the movie themselves instead of having the movie play automatically also have a stop or pause button too.

View 2 Replies

ActionScript 2.0 :: Play Sound Like "stop All Sound" Option In Flash?

May 17, 2003

I want to use a sound loop in my flash movie. The movie has many scenes. And the problem is that when I go to next scene or different scene I hear the sound repeating twice. I mean sound does not stop from first scene and begins from the different scenes.Is there any way to play sound like "stop all sound" option in Flash.

View 6 Replies

ActionScript 2.0 :: Mp3 Sound - Play And Stop

May 2, 2006

I made to player with only the buttons play and stop, I tried to make that button toggle, but I did not works, then I made two buttons, when I click in play it shows a button and hides the other and vice versa, he functions normal, my problem is the following one:
When finishes the music the button not return for stop button, it continues showing to the animation of the play button , How can I make when to finish the music the button comes back to the state where it was.

[Code]...

View 2 Replies

ActionScript 2.0 :: Music Separate From Flash File / Still Have Start Stop Music Buttons?

Oct 11, 2009

I want a site to have background music, but when I attach the music to the file it makes it quite large ...3 meg and the site is slow to load. Is there any way of having the music separate from the flash file and still have start stop music buttons?

View 2 Replies

Movie Clips And Background Music - Unable To Stop Music At The End Of The Animation?

Apr 30, 2011

I'm working on an animation where I have my "dog" fighting the evil vacuum cleaner. I got most of it to work the way I want it to.

1) I have movie clips entitled pepper_mc (where my dog is supposed to be walking), swirl (where a swirly-type symbol is supposed to spin over the dead vacuum's head), and vacuum_mc (where the evil vacuum is supposed to have a swinging arm (called vacuumarm_mc) that I created using the bone tool). When I add them to the stage and test them, the animations within the movie clips don't happen.

2) I have background music that I'd like to stop playing at the end of the animation, but I'm not sure how to do that. (using the stop(); actionscript doesn't help).Where am I going wrong? I'm using Flash Pro CS5.

Here's the file --> Pepper and the Vacuum of DOOM!

View 1 Replies







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