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

Similar Posts:

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

ActionScript 3.0 :: Mp3 Title List - Stop Button Should Move From Song To Song When Playing?

Aug 19, 2009

I have a list of mp3-songs, when song 1 is clicked it gets streamed, a stop-button appears, if this Btn is clicked, this Btn disappears as it should - but if user forgets to click for stopping sound and clicks song 2, stopBtn 1 remains and the new stopBtn 2 also appears. there should be only one stopBtn, the one next to the song is playing.

I would like to move the stopBtn and I have tried several approaches move; graphics.moveTo; if(stopButton !=null) {removeChild (stopButton)}; I packed the var stopButton:Sprite in the header and so on.

import flash.display.Sprite;[code]..........

View 0 Replies

ActionScript 2.0 :: Sound - Stop Button To Allow The User To Stop Mid Song

Mar 13, 2007

i have programed a play button using:


now i am trying to program the stop button to allow the user to stop mid song....

View 4 Replies

ActionScript 1/2 :: Turn On Audio For External Flv On Replay When Previously Muted While Playing?

May 3, 2011

I have a project where an external video plays with cue points that  trigger the elements on my main timeline (captions). I have a custom mute button  for the video so that the guy talking on the video can be muted if necessary (did not use a skin for video controls but set it up as a button). The problem is, when I reach the end of the video and I click  a "replay" button to restart at the beginning, the timeline and video start but if the video was muted previously, the video remains muted while my button shows that it isn't. How do I  get the audio to turn back on automatically when restarted, or at a minimum show that it's still muted when replaying? My replay button AS2. mcPlayer is my flv.


View 9 Replies

ActionScript 2.0 :: Changing The Stop Button To A Pause Button?

Nov 13, 2011

I am basically creating an mp3, I want to change the stop button with a pause button but don't know how to do it.


View 2 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 :: Way To Have Play-button Change Into Pause Button

Feb 18, 2009

I finished the Flash Video Basics Tutorials, but I'd like the video not to start playing straight away. I also want it to stop playing when it's finished and not start over again.Is there also an easy way to have the play-button change into pause button, when the video is paused?

View 14 Replies

Actionscript 3.0 :: Stop Button To Reset Current Song To Start?

Jan 22, 2011

have been looking for the right solution to my little problem and not found anything that works with my project.I have a fully functional mp3 player built in flash cs5 with AS3 and I would love to make the stop button reset the song to the beginning instead of pausing it like it is doing at the moment.. My code for the whole app is as follows :

/////// CODE FOR FRAME 1


View 1 Replies

ActionScript 3.0 :: Disable Play Button When Playing Song

Oct 7, 2009

I have a play button and stop button when I click on the play button the song keeps repeating over and over. How to stop this? This is the code I'm using:
var req:URLRequest = new URLRequest("song.mp3");
var sound:Sound = new Sound();
var controller:SoundChannel;
function soundLoaded(event:Event):void {
controller =;
[Code] .....

View 2 Replies

ActionScript 3.0 :: Having A Song Play When User Hover Over My Button?

Nov 25, 2010

I am creating a project and I want the user when they hover over my button to have a song play, when the user leaves the over state, the song stops, I can't seem to get it to work. Here is what I am doing, I have my button, inside the button on the over state I nest a Movie Clip, inside of that I bring in the song, in the properties I set it to "Start" and "Repeat x 0".

When I load the SWF it automatically plays.I've tried adding some AS3 to it but I can't seem to get it to work. like "stop();" which did nothing.I did some googling and found "SoundMixer.stopAll();" which does stop the song from loading on start.

ActionScript Code:

View 2 Replies

ActionScript 3.0 :: Music Player - Play / Pause Specific Song

Nov 27, 2010

At the moment, I am attempting to make a music player that will play a specific song of my choosing. I am stuck at the part where you can pause the sound, and then play it in the same place. I have tried many things such as using the timer utilities. Right now, when I pause it, it stops, and when I press play, it plays from the beginning.
var channel:SoundChannel;
var soundCheck:Boolean = true;
var song:Sound = new Sound(new URLRequest("song.mp3"));
channel =;
[Code] .....

View 1 Replies

ActionScript 3.0 :: Multiple Button Functions - When Click The Button, The Mc Does Not Stop Playing And The Text Does Not Show Up?

Nov 8, 2009

I'm designing an interface for a class, and the buttons that I am using all have multiple functions.For example, when the story button is clicked, I need the mc to stop playing and change to text (in the same window/screen, just no mc playing).  The mc is 31 frames long, but if there's a way to just make it loop continuously until told not to, Currently, my code looks like this:

function story(event:MouseEvent):void { gotoAndStop(32);}credits_btn.addEventListener(MouseEvent.CLICK,credits);[code]...

When I click the button, the mc does not stop playing and the text does not show up. 

View 6 Replies

ActionScript 2.0 :: Bar - Play And Stop Button To Play And Stop Frames In A Flash Movie

Dec 1, 2004

give me the actionscript for a bar that has a play and stop button to play and stop frames in a flash movie. i would be gratefull if you could as i am really stuck

View 2 Replies

Professional :: Play/stop Button Change Into One Button?

Mar 9, 2010

I have two buttons for paly and stop movie.

It is possible to only use ONE button ...
When click PLAY , stop btn is on
When click Stop, Play btn is on.
My file: [URL]

View 1 Replies

ActionScript 3.0 :: Play And Pause Button All In One

Apr 3, 2009

I'm making a mp3 player using flash and i would like to have the play and pause function all in one button rather having separating into two buttons. Here is the code what I have so far.


playpause_button.addEventListener(MouseEvent.CLICK, playpauseButtonClick);
function playpauseButtonClick( event:MouseEvent):void {
theChannel =;


View 1 Replies

.net :: Choosing Right Way To Support Multiple Players To Play Videos

Aug 26, 2010

I am working on a project where i need to support multiple players and platforms to play videos. Major Platforms will be: Windows PC,Mac PC,Apple Devices and Android. This is the precedence i will be following. First it will check browser support for Silverlight 3 or later then Flash then HTML5. If not any one of them is supported user will be asked to installed Silverlight. I wanted to know which pattern and strategy i should use in order to support this functionality. Currently i have investigated about some javascript api that can do this detection on client side easily and load the player appropriately.. but as many of browser could be without javascript support so this method will fails to play videos. Is there any way I can do this detection on server side and inject proper Player HTML on client end?

View 2 Replies

ActionScript 2.0 :: Flash XML Play/Pause Button?

Jul 29, 2008

I have a flash xml slide show. I need to create a play pause toggle button that will stop the xml slide show and start it again.

Here is the actionscript:

function loadXML(loaded)
if (loaded)


View 21 Replies

Nonstop Mp3 Player Without Play And Pause Button?

Dec 7, 2010

I checked all flaskit sources and tutorials. All of them are telling about mp3 players with stop, play and pause buttons.

Is there any source or tutorial about a radio which continiously play songs ? No pause, no play, no stop button. it will play songs in specific folder nonstop in loop. ?

View 3 Replies

ActionScript 1/2 :: Play - Pause Button For External .swf?

Sep 2, 2009

I'm trying to create buttons so a viewer can pause and then play an externally loaded swf. My project can be accessed at the linke below. This is how I want the project to function

-Click a room on the building (choose Accounting for this discussion)

-Click one of the demo options (choose Ending a Period for this discussion)

- Now that the demo plays, I want the user to be able to play and pause the demo swf.

The demo .swfs were created in Captivate so I don't have access to their timeline. They are loaded into an empty Loader component using the MovieClipLoader Class.


View 7 Replies

Play / Pause Music With Single Button?

Sep 28, 2009

I'm extremely new to Flash and I am making a website and want to have a single button that when pressed pauses or plays a music file. I was able to create one that works by following a tutorial that I found online but the problem is that the button is on the main timeline so as I move away from it, it stops working. I think that it would work better if I was able to make a movie clip out of the button so that it doesn't sit on the main timeline and will keep working no matter where I am on the timeline. All I need is one button that pauses and plays music when pressed. I also want to be able to have a "music on" line of text and "music off" line of text depending on whether the music is playing or not.

View 4 Replies

ActionScript 3.0 :: Create An Play/Pause Button In One?

May 8, 2010

Well as the title says I need to create an Play/Pause button in one. So when I click on the button it plays my animation, then when I click on it again it pauses it. And then when I click on it again it plays the animation where it was. etc. etc.
I know how to create a simple button and give it an event and an function, but I cant figure out how to get those 2 functions together in one?


View 3 Replies

ActionScript 1/2 :: Pause And Play Toggling Button?

Mar 23, 2011

I have created a Pause and Play button that toggles between states.  It controls a Timeline with synced Sound.  When I use it the sound and animation go out of sync.  Can anyone help me with this or perhaps have better code I could swap out to make this work?
Below is what I am currently using:On the first frame of an Action Script layer put this AS:
playBtn.onRelease = function() {
playBtn._visible = false;
pauseBtn._visible = true;

Put the Pause and Play buttons directly over each other on 2 layers for the duration of the timeline.Pause Button on top. (unless you have a STOP on the first line then maybe the Play button will start it.

View 3 Replies

Professional :: Pause And Play After Certain Time Without A Button?

Aug 29, 2011

I am trying to make an animation that will pause and start again after a certain time. The problem is I don't have any experience with Actionscript (or programming of any sort for that matter)..I found this link that appears to explain how it's done, but I can't seem to replicate it. I'm not even sure which version of Actionscript this is.. [URL]

View 5 Replies

ActionScript 2.0 :: Play / Pause Button For Sub MovieClips

Nov 4, 2009

I have a play/pause button on my animation which works a treat when all animations are within the main movie clip. Now I would like to have some movement within the main movieclip and some within individual sub movie clips. Once I go to play the animation all animated objects within the main movieclip are stopped but the sub movie clips are playing. How can I stop the sub movie clips to???

The following is the current code I have
ActionScript Code:
stop ();
play_btn.onRelease = function(){
[Code] .....

View 5 Replies

ActionScript 2.0 :: Create A Button To Pause/play A FLV?

Aug 5, 2010

how to create a button to pause/play a FLV?I have an FLV with cue points (using the FLVPlayback component). The cue points are controlling when graphics are added to some empty movieclips on the stage. The FLVPlayback component skins would work but they are hidden by graphics on higher layers.I'm using CS4, Flash Player 8 and AS 2.0.

View 1 Replies

ActionScript 2.0 :: Pause And Play Sound Button?

Dec 24, 2011

How to add both pause and play sound button in a single button.. on play it shows the image pause and on pause it shows the image play.

View 4 Replies

ActionScript 2.0 :: Play/pause Button In Flash?

Aug 27, 2003

I have seen umpteen different guides on how to make a play/pause button in flash. and i cannot get it to work. I think i may pull my hair out soon.basically- i have made an mc which sits on the main timeline. i t has 2 frames, ecah of which has a stop() action in the frame. the first has a pause button with the following script attached to to the button:


i have also tried putting in nextFrame instead of gotoAndStop() -but this is besides the point as it's not even stopping!in the second frame there is a play button with the following scruipt attached to it:


I think the problem may be deeper rooted because i have looked on sevral guides and they all tell me to do a similar thing.
In fact i made a button which sat on the timeline with this script

on (release) {

and STILL nothing happened!

View 3 Replies

IDE :: Play / Pause Music With Single Button?

Sep 29, 2009

'm extremely new to Flash and I don't really know how to code yet.. I'm making a website and want to have a single button that when pressed either plays or pauses the music file. I found a tutorial that worked but it has two buttons (one for play and one for stop). You can see the tutorial here:[URL] I'm hoping that someone can tell me how I might be able to change the code so that a single button acts as both play and pause (i.e.; If music is not playing then play, if music is playing then stop).

View 2 Replies

ActionScript 2.0 :: Play And Pause When The Button Is Clicked?

Mar 30, 2005

I have a flash program that needs to play and pause when the button is clicked, right now I have this code

var status;
status = stop
on (release)


this is of course is not right. my var is in the wrong place but i dont want to declair on every "on (release)"

View 2 Replies

Copyrights 2005-15, All rights reserved