Multi Song Flash Player

May 10, 2010

I need to make player like this one URL...Is there a tutorial for this on this site already? If not does anyone know any good tutorials?

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Direct Flash MP3 Player To Get Song List From XML File

Nov 12, 2010

What do I need to put in my code to tell my mp3 player to grab its songs from a folder on my server via an xml doc I outputted from my sql server? (The mp3 player is also on the server).

Here's my code:
import flash.events.MouseEvent;
import flash.media.Sound;import flash.net.URLRequest;
import flash.media.SoundChannel;import fl.events.SliderEvent;
var myMusic:Sound = new Sound();
var soundFile:URLRequest = new URLRequest("lpwfte.mp3");
var channel:SoundChannel = new SoundChannel();
[Code] .....

View 1 Replies

Flash :: Mp3 Player With Playlist Playing The Song That Has Been Deleted Or Changed

Dec 22, 2010

I downloaded player from [URL].. but I don't know why what the problem it had with with playlist. I had a playlist in xml file with songs. When i deleted the mp3 from the server, it is still playing. and when i changed the mp3 files it is still playing the original files. I don't know where these files were saved. I thought it was saved in my browser cache and i cleared it but it didn't work. I thought it was cached in my server, but in my localserver , i had the same problem.

So, again i downloaded the player, and this time it played different song, that i put. I have a hypothesis. Does flash player (swf object) absorb mp3 files?? i don't think so but how come player is playing the mp3 that has been changed or deleted? if it was in server cache then how long will it take to clear the cache and play new file. However, i don't remember coding something like 'cache'

View 2 Replies

ActionScript 2.0 :: XML Player - Flash Button To Call Specific Song?

Sep 7, 2011

I have a flash website that uses an XML player to play the artist's songs. The player works great. Now, I need a specific button in the flash document to call and play a specific song title from the XML list. The button I tried and that is showed in the flash code has an instance name of "santaBaby", calling a function I named "sampleSong1"Here's my XML playlist:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<jukebox>

[code]......

View 9 Replies

ActionScript 3.0 :: Why Flash-based Music Player Can't Play A Song From Other Sites

Apr 28, 2009

I am making flash CS4-based music player with ActionScript 3. When I host the player on my site, e.g. [URL], and play an mp3 on the server of my site, e.g.[URL], it works well.

When I link to an mp3 of another site, e.g. [URL], in my local machine, it also works. However, when I host the music player in my site [URL], and play an mp3 of [URL], then it can't be played.

View 8 Replies

Javascript :: Update The Song's Volume For A Flash Player Using JQuery Slider?

Apr 12, 2012

I'm having some trouble with the code below. the flash player has a default volume slider, but I want to use the jQuery slider to change the volume. the volume value(nr) is changing while I move the slider, but the volume of the song doesn't.

<!DOCTYPE html>
<script type='text/javascript'>
$(document).ready(function(){

[Code].....

View 1 Replies

Flash - Xspf Player - Name Of Object Or Code That Defines Current Song Highlighting?

Jan 20, 2010

I'm creating a new look for the xspf player: [URL]The playlist highlights the current song being played. I'd like to change the color but can't find where that option is listed in the .flv file, or in the actionscript file.

View 2 Replies

CS3 : Flash Multi Flv Player With Dock Menu From Streaming Server?

Apr 3, 2009

I am trying to create a menu, similar to a dock menu but that just magnifies the images when rolled over (rather than overly crazy carosels or massively zooming docks. and secondly...the dock menu would link to separate flvs that are on a streaming server. I've never worked with one before and wonder how to connect them to my flash. I'm trying to create an flv player, sorry, shouldve said earlier... but one that only plays 6 vids (linked to by the magnifying dock menu).

View 2 Replies

ActionScript 3.0 :: Develope Multi Player Game From Different Computers In Flash?

Apr 4, 2011

is it possible to develope multi player game from different computers in flash using as3. As i hv learned abt AS3 we cant create a  server socket it can only send the req to server socket. but it can e done through AIR(I HOPE SO),

View 1 Replies

Flash :: Flex - Benifits/cons For Multi-player Servers For A AIR Game?

Jul 13, 2011

I have an air application that I'd like to turn into a multi-player game. I'd like to have 2-40 concurrent connections per "room". We would like to have 1-10 rooms going at once in the beginning. I'd like for users to be able to share voice and video but that's not a requirement.

Users will be racing each other based on data that's updated once every second, so ping doesn't have to be super low. 1000ms would be fine but lower is preferred.[URL]..

Cirrus looks perfect. I've heard some problems about firewall and port settings, but was wondering if anyone had experience with at home users and Cirrus. Another problem is that it's been in labs for ever. You can get RTMFP with Flash Media Server Enterprise but that's like 60k-70k per processor, way out of our price range. I've also looked at [URL] but it doesn't support RTMFP. I know we can host this on AWS and maybe save some money.

There is an open source project (cumulus) that implements RTMFP too but I've read that it's more of a POC then a production ready project. The license is also GPL which doesn't work for our commercial application. I've also looked at[URL].. but again, no RTMFP integration.The reason I like RTMFP is because we can scale without a lot of server cost. I know it's a closed protocol from Adobe and it looks like wowza or red5 won't be implementing it any time soon.

Is there an affordable (not 70k per processor) server tech for multi-player gaming that you can use with AIR/Flash that scales well?

View 2 Replies

ActionScript 3.0 :: Mp3 Player Won't Go To Next Song Sometimes?

Oct 17, 2009

so I have this mp3 player I made. It won't go to the next song when a song ends sometimes. It will if the song is very short (10ish seconds) but once it gets to the 30 second mark it won't go.If you click on the slider at any point it will get to the next song, if you click the pause play button it will get to the next song.I have only been doing AS3 for a little bit and I am totally baffled by this problem.
 
I've attached the code as a .txt file, i sorted them into their sepperate files with a header. I hope its ok to read. I can post them differently or post the actual player need be.

View 1 Replies

ActionScript 3.0 :: Loading More Than One Song Into MP3 Player

Feb 8, 2009

I'm trying to make an MP3 player with art and text associated with each of the 4 songs I need included, but I can't figure out how to load more than one song into the player. The first song loads and plays fine, but when I try to load another one of the songs, I'm given this error:

Code:
Error: Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful.
at flash.media::Sound/_load()
at flash.media::Sound/load()
at RealSite_fla::mp3player_mc_6/goGS86()

And here is my code:
var req:URLRequest;
var sound:Sound = new Sound();
var controller:SoundChannel;
var volumeControl:SoundTransform;
var soundPaused:Boolean = false;
var position:int;
function loadSound(event:Event):void
[Code] .....

View 1 Replies

ActionScript 2.0 :: Add Song Count To Mp3 Player?

Mar 21, 2009

I've searched the forums and can't seem to find an answer on this one.

How do I add a a counter on a mp3 player that counts the number of times a song is played?

Could I send this count number to a mysql database using PHP?

View 7 Replies

ActionScript 3.0 :: Audio Player Song Duration

Jun 18, 2010

Im looking for a why to display the current time position of a song playing in an audio player in a dynamic text box. I know the soundChannel. position references the current point of the songs, but I need some conceptual help translating that to a string and 00:00 time format dynamic text box

View 1 Replies

ActionScript 3.0 :: Mp3 Player - Plays The First Song When Click On Second

Jan 17, 2010

Im new in flash, and i have a problem in my mp3 player. im using flash cs3. When i click the link to play the song, it plays the song. but when i click another song, it plays the first song. by the way its an XML driven. here's the codes that i've tried

[Code]...

View 3 Replies

ActionScript 2.0 :: MP3 Player - Song Position Not Setting To Zero

Apr 2, 2010

I am create a flash mp3 player. In that I am displaying the song.position(time completed played). The song.position is not setting to zero, when a new song is played. It is continuing with the previous song. For example, if the previous song time is 30 seconds. the song.position is started from zero and comes to 30 seconds. After that song is completed and a again a new song is started, the song.position is starting as 30 seconds and gets increasing. It is not setting to zero at the start of the second song. I even set the song.position=0, when the previous song is completed.

View 1 Replies

ActionScript 2.0 :: Music Player Won't Play On 2nd Song?

Nov 3, 2011

I have problem with the code below. its a flash mp3 player. I need to prevent it from autoplay from the start. but keeps on playing all the tracks after the user click on play. How can i fix this?

Code:
import flash.filters.DropShadowFilter;
var infostruc:Array = [];
var xmlData:XML = new XML();

[Code].....

View 2 Replies

IDE :: Marquee Scroll (Song Title) From XML File In MP3 Player

Jan 3, 2007

So I made some a nifty a MP3 player that grabs songs from an XML file. It displays the song name in the dynamic text field. Unfortunately, I only have very little display space and many of the track names are long. The solution: marquee scroll the text horizonally. The problem: I never marquee scrolled dynamic text and now I am lost.

Here is my main AS:
stop();
playlist = new XML();
playlist.ignoreWhite = true;
playlist.onLoad = function(success) {
if (success) {
[Code] .....

And while this did make the text scroll on the first song, it doesn't work so hot on the second song. It blips back-and-forth between the first and second song name. Advance to a third song and you've got an even bigger blipping mess. I kind of think that this code above isn't the way to go... that it isn't even worth reworking... that I should try something completely new.

View 3 Replies

ActionScript 3.0 :: MP3 Player To Load Random Song From XML List

Jan 27, 2009

I have built an MP3 player using XML and this works fine. But I want this MP3 player to load a random song from the XML list everytime it runs.

I have this code:
var my_songs:XMLList;
var my_total:Number;
var my_sound:Sound;
var my_channel:SoundChannel;
var current_song:Number = 0;
[Code] .....

But it produces the error -
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at flashPlayer_fla::MainTimeline/playSong()
at flashPlayer_fla::MainTimeline/processXML()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio n()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

I have also tried to trace the problem by putting trace(my_songs[mySong].@URL) in the playSong() function but this doesn't do anything.

View 6 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.
stop();
var channel:SoundChannel;
var soundCheck:Boolean = true;
var song:Sound = new Sound(new URLRequest("song.mp3"));
channel = song.play();
[Code] .....

View 1 Replies

ActionScript 3.0 :: Mp3 Player Functions - Create Next And Previous Song Buttons

Jan 27, 2009

I don't really use Flash anymore but have been approached by a client to work on a simple-function mp3 player with play, pause, prev, and next song buttons for their website. I'm using [URL] and wanted to learn how to create next and previous song buttons. Here is my code:

[Code]....

View 1 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.

Code:
SoundMixer.stopAll();
import flash.display.Sprite;[code]..........

View 0 Replies

ActionScript 3.0 :: ID3 Tag - Getting The Song Length Before The Entire Song Has Been Loaded?

Feb 15, 2010

I am writing a mp3 player and having some issue getting the song length before the entire song has been loaded - which messes with my position indicator, as it needs to know the track length. I thought I could get the length from an ID3 tag, problem is ID3.TLEN returns undefined, though if I right click the track and show properties, the summary tab shows song duration, bitrate, etc... how I can retrieve the song length before the entire thing has been downloaded?

View 4 Replies

ActionScript 3.0 :: Make Simple Multi Player Game?

Mar 30, 2012

I want to make a simple multi player game so any one give me sample code or how to do that ?

View 1 Replies

Java :: Platform For Web-based Multi-player Game?

Sep 28, 2010

I'm developing a web-based fantasy football game. Most of the game is a straight-forward web application built on top of Linux/Apache/Php/MySQL.

I'm trying to figure out how to implement the draft application. The draft date and time will be scheduled in advance by each league's owner. Up to 32 users may be logged on for a given league's draft, and there is no limit to how many drafts may be happening concurrently. The users will take turns selecting players, and each user's turn will have a time limit. I'd like for all the users to be able to see whose turn it is, how much time that user has left to select a player, who they select, and which players are still available. If there are users in the league who are not logged in during the draft I'd like to be able to detect that and automatically assign players to them rather than waiting for the time to run out on their turn. Ideally I'd also like to have a chat window so the users could chat with one another during the draft.

My background is in desktop application development, so if necessary I could write server code in C#/.NET or Java. As far as I can see these are the options: PHP/AJAX - It seems like it would be possible to have all the state for the draft in the database and have the operations for the draft run in PHP triggered by requests from the clients? I guess in this case the draft doesn't start until at least one user logs in, and it seems like it would be a lot of polling requests to the server if I want everyone notified quickly when a user makes a selection.

[Code]...

View 2 Replies

ActionScript 2.0 :: Flash8 Tutorial: Simple Multi-Video Player

Mar 11, 2009

Having a bit of trouble with this. Even when I get it to work from my desktop, it still malfunctions when posted to my server.

View 1 Replies

ActionScript 2.0 :: LoadMovieNum - Users Of The Player To See How Long They Have Listen Or How Long Time Back Of The Song

Feb 5, 2004

I'am making a advanced mp3 player arund this tutorial: [URL] and i want the users of the player to see how long they have listen or how long time back of the song. i have the AS i what to use but i cant connect them. becuase the tutorial i used does not make a sound objekt (MUSIC)

[COde]...

View 1 Replies

ActionScript 3.0 :: Multi Video Player - Audio From The Last Video Remains Playing Even When Prompted To Stop??

Jun 2, 2010

I built a timeline based player with 2 menus and many videos that you can play.The buttons move the timeline to a frame label and the video plays. The back button has a stop function built in it so the video stops playing when its hit.It plays wonderfully locally but once on a server after a few clicks it boggs down and sometimes the audio from the last video remains playing even when prompted to stop. I was pointed to use the add and remove child functions to prevent this but being very new to Flash and 100% self taught i have zero idea on how to do this. The link to the player is[url]....Even if its a link to a tutorial or something.

View 3 Replies

ActionScript 2.0 :: Change Song Using Attribute From XML In Flash

Nov 4, 2010

I have an mp3 on my site that is loaded via an xml. I have an action on the xml that allows any song to be played first by assigning an attribute. However, I want another song to play when a selected button is pressed on the flash file. But I do not want to load a new xml, instead, I want to change it using an attribute. Any who, here is the code that is used to create a sound and play selected song.

//this function selects the music assigned with "musicnum" variable
selectmusic = function() {
//create a new sound variable
sound = new Sound();
//load the music
sound.loadSound(songs[musicnum].attributes.src, true);
//set volume
[Code] .....

View 2 Replies

ActionScript 1/2 :: (Flash CS5) - 1st And 3rd Song Doesn't Play

Sep 11, 2011

I am loading mp3's externally as to not bloat the swf. However, only 1 out of 3 songs play (2nd song plays) for this jukebox I'm having to create for an assignment. I would think if one song played, they all would. I've checked the AS2 code and it all seems right to me; the song names and button instance names. I sure could use some insight as to why the 1st and 3rd song doesn't play. My jukebox is at: [URL] and here is my simple code in the first Actions frame. This is the only code I used for the jukebox.

[Code]...

View 3 Replies







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