ActionScript 2.0 :: A Mp3 Player... Without A Clickable Playlist?
Nov 4, 2006
I have a mp3 player... without a clickable playlist. I'm having issues making the clickable playlist. Its XML powered so i have to create the playlist on load. right now im trying to create a for loop that would attach a movie clip for each song but it isn't working very well.
Code:
playlist.onLoad = function(success) {
if (success) {
_global.songfile = [];[code]....
View 2 Replies
Similar Posts:
Jul 22, 2009
How to get my audio scrubber to work, make the volume consistent whether you stop the song and restart or move to the previous of next song. Also, I just finally figured out how to add columns to my XML playlist by using a Datagrid but I do not know how to hook the playlist up to the XML in order to call the particular song that is clicked on.
I started this project working as a tutorial, but the tutorial only gave the basic XML audio jukebox set up, since then, I've been scouring forums, google, tutorials on youtube, etc. But I find that the code is so "method" specific, meaning that everything hinges on your particular way you decide to get to the end result.
1)Volume slider works, but the volume keeps reverting back to the default volume everytime the song is stopped and re-started or a new song is advanced to with the Previous or Next button - The volume needs to stay consistent at whatever volume level that the slider is left on.
2)PlayList needs to be functional. Right now, you can advance through the play list by using the jukebox previous and next buttons, but the playlist should have the ability to highlight whatever song is playing from the list as well as play songs independently when any song in the list is clicked. (I was able to do this successfully with the tutorial version which used a list component, but the only problem with that is that List components only allow 1 column - so I had to change to a datagrid to allot for my 3 columns)
3)Scrubber - I would like the scrubber to do what a scrubber does for each song when the song is being played.
The files can be found here [URL].
View 2 Replies
Oct 18, 2009
I would like to have a simple flv player on my website.But this player should have a playlist.I cn create inside Dreamweaver just a simple player skin... but it doesn't allow me to generate a playlist.
View 1 Replies
Jan 28, 2009
I have an as3 mp3 player that loads a random file from an xml list so every time the user opens the player a random song plays and when song finishes or the user skips the song it goes to a random song also. I want to create an interactive playlist under this mp3 player. is this possible as the songs that are played are at random?
View 4 Replies
Feb 21, 2010
i am trying to create an xml driven mp3 playerbut one that displays all the songs in a listwhich users can then click on to select the song they want to play.two examples:[URL]
View 2 Replies
Sep 18, 2010
I have an mp3 player based on the School of Flash code. When I click "next song" I need it to go to the next song, unless it's the last song in the playlist in which case it needs to go back to song number 1 in the playlist.
The following code doesn't seem to do the trick
var songlist:XMLList;
var currentIndex:Number = 0;
and..
function nextSong(e:Event):void
[Code]....
View 1 Replies
Jul 25, 2010
I was trying to build a flash mp3 player for my website to help sell my music. The flash mp3 player needs to have a playlist with "Buy Now" buttons next to each song in the playlist, that link back to my paypal for easy checkout.Im not sure if I should try to code this in AS3 using the ListBox Component or the Datagrid Component. Either way, its all coming down to the fact that I need to learn how to embed Images, Mp3's and Links in each row of the playlist.Here is a couple examples of some cool looking flah mp3 players that Im trying to build:
bigboytraks.net
illbeatz.com
myflashstore.net
*NOTE!!!* I'm not asking anyone here to build me a whole mp3 player. Im simply asking the main question of how to populate either a list component or datagrid component with sound and links right next to each sound in the playlist/rows.
View 0 Replies
Mar 5, 2009
Does anyone have some good tutorial about making an XML mp3 player with a playlist?
View 13 Replies
Jul 12, 2009
I have succesfully added the Flash MP3 Player and the Video Playlist to my flash site.The music in the MP3 player works fine, so does the video playlist but the problem is i have to pause the music before going to the video page or else they play together.I want to be able to automatically pause the music when i hit the button to go to the video page and when i click a button to go to a different page i want the video to stop or pause and the music to resume playing.Heres the code for the mp3 player and the Video code is further down:
Code: Select all// Setup sound object
var s:Sound = new Sound();
s.onSoundComplete = playSong;[code]..........
View 13 Replies
Jun 5, 2009
How we can create a basic Flash & ActionScript based mp3 player with a playlist that displays songs and allows you to choose from it? I know how to make the basic player with the play, stop, next and previous buttons but wanted to create one with a playlist.
View 2 Replies
Apr 19, 2011
I'm creating an mp3 player with playlist, equalizer etc. I've worked with an equalizer before, however I want this equalizer to display outside of the playlist movie clip where all the track information is stored.
So this is my code:
[Code]..
View 3 Replies
Feb 9, 2009
I have this FLV player that pulls all of the data (poster frame url, flv url, etc...) from an external xml file "prefs.xml" that's in the same root as the swf. That all works nicely.[url]...
I know cross-domain policies come into effect, and I actually have one hard-coded into the swf, and linked from the prefs.xml file so you can change the url of that document.[code]...
View 1 Replies
Jun 28, 2009
I'm looking for a flash video player and a flash audio player with playlist that I can customize.
View 2 Replies
Oct 19, 2009
I'm trying to create a flv custom player with scrollable playlist, much like youtube's. Anyways, I have a scroll bar with the buttons inside of it. The problem is the buttons that are inside the scroll bar do not want to communicate with the main timeline. So I want to press the button inside the scroll bar and have the selected video play on the main time line. So if the buttons are three movie clips deep into the timeline how do I tell it to play video1 on the main timeline when that button is clicked?
View 1 Replies
Nov 22, 2009
I made a video player in flash (AS 3.0, Flash CS3), which plays an .flv file.It works great and when I export it, I get an perfectly working .swf file that plays the .flv file.But what I want now is to make the .swf file play different .flv's each time. So I want to create a playlist. But the playlist must not be in flash but in HTML (and javascript I guess). So I want that one link in the html can influence the .flv source of the .swf player. (right now the .flv source is included in the .swf file).
View 2 Replies
Jun 20, 2011
Anyone have any idea about how works the player ReverbNation? When I'm browsing the website, the player don't stop. It's still playing the song without pause o cut. And nor have frame/iframes.
View 2 Replies
Apr 3, 2011
Does anyone know where I can find a free youtube player with a playlist in (AS2)?
View 1 Replies
May 6, 2009
1) If you have various instances of the player on the same page, would I be correct to assume that there is nothing in place to make sure that only one instance is playing at the same time? if so is there a way round this?
2) How would you go about reading from a dynamically created playlist? say for example for use in a record shop where each record has 2-10 tracks but records are being pulled from database.
Or would it be best to pull playlist directly from the database?
View 1 Replies
Feb 25, 2009
I'm trying to brainstorm ideas on a site I'm managing. [URL]. (Once the page loads, click on "The Fixx" menu option). On this page, I have a list of radio shows that this DJ has produced. It's a compilation of songs that he posts up twice a week roughly. Currently the way it's setup... is you can click the button and it opens a pop up window with a player that plays the corresponding file. However... I want to be able to have a window open up that has a playlist of the songs contained in that mixshow in the bottom (Not something they will be able to click on to go to a particular song, just something that tells them what is on this show) and the player at the top. I also would like the capability of dragging through the song so they don't have to listen to the whole thing. Currently it's abit cumbersome, and I know it'll drive more viewers if I add playlist functionality.
View 1 Replies
Jun 16, 2009
I need to create a dynamic movie player in the flash website, i tried Import Video... (File > Import >) , then i put a relative URL of xml file (e.g. xspf.xml) under the "Already deployed on web server..." option. but the video doesn't show nothing at all.
This is my code in xspf.xml:
[Code]....
is there any other better or easier way to create an flv player within flash website which support multiple video file as a playlist?
View 1 Replies
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
Jul 7, 2009
I am a fairly new as3 user and am working on a video player that loads an xml file into a URLloader as a playlist. I have everything working but I want to add a few buttons to change the content of the playlist. All of the data will come from the same xml document, so I don't think i have to reload the xml. I can get the content to load when the button is pushed, but it jsut adds to the previous content instead of replacing i. How to clear the content before adding?
Here is my code (that relates to this) so far....
public class playlist_controller extends MovieClip {
private var xml_loader:URLLoader;
public function playlist_controller():void {
////load the xml file
xml_loader = new URLLoader();
[Code] .....
View 2 Replies
Jul 3, 2007
I have a flash video player whose playlist is based off an xml list. Now, I need this list to change based on whose accesing the player. So: Client gets a link, clicks on link, player shows their video. Another client clicks on another link, player shows their video,
View 1 Replies
Jul 3, 2009
I will inlcude here to code i used and a zipped folder containing all the files of my mp3 player. What i would like to do, (i am not an actionscript expert and did this following a tutorial) is to include a download button for the track which is being listened, be able to insert the playlist 'track buttons' inside the scrollpane on the stage, and sort an annoying bug which makes the music form the player continue even when i leave the section of the site where its in, keeping the music in the background running and starting a new track ontop every time i renter the section where the player is placed.
[Code]...
View 2 Replies
Aug 17, 2007
I've gone through an mp3 tutorial series and modified the final result for what i'm looking for. one thing i would like though is to be able to add another attribute in for a clickable button that links to another page that would have lyrics. so my xml would look like this i believe or something close <song name ="Test Track 4" band ="Band4" file="test4.mp3" lyrics="testlyrics.html" /> basically so it adds another button in after the track listing so you can click and view the lyrics that would be on a separate page. I don't quite understand how it all draws together in flash actionscript and how to put the lyrics attribute on another button.
View 5 Replies
Nov 9, 2009
There will be a "pool" of SWF files- I would like to create a "shell" swf that will load an external XML file that will determine which of the files in the "pool" the shell will play. I guess this would be called an XML-driven SWF playlist.Forgive me if my terminology is rather primitive- again, I'm new to XML (I'm an animator by trade.)
View 1 Replies
Aug 11, 2009
I followed along with Lee Brimlow's video playlist tutorial utilizing the list component and XML - easy enough. I'm looking to add another level of complexity to a playlist which would involve some sort of checkbox or radio buttons associated with each item in a playlist. You could then choose to display only 2 or 3 videos of a 10 video playlist, for example.I'm not expecting anyone to write the script out for me. However, I would be very appreciative if anyone could steer me in the right direction to get started. I've been searching for things like "selectable playlist" but that of results in a playlist that allows you to select which item to display.
View 2 Replies
Jul 23, 2010
I've been trying to make a playlist of some of the short movies i've done across the years but I am currently stuck.Is there any way to have a .swf file, load other .swf using variables defined on a separate txt or xml file? if so, is there a way that flash can do it all automatically? that way if i have to update it i only have to update the variables in the .txt/.xml file instead of updating the entire .swf file.
View 2 Replies
Mar 17, 2005
[code]I need to read this file in flash and list the songs one under another to build a playlist. Not sure if I should do this in an mc, text area, listbox? But either way, I don't know how to list the songs, no matter how many. I might have asked and described it to complicated on other sites,How do you read the files in the playlist node into flash and list them?
View 14 Replies
Feb 5, 2007
I am building a flv player. At the end of the movie I would like it to advance to the next movie. I currently have this.
Code:
if (Math.round(loader_mc.scrub_mc._x) >= Math.round(loader_mc.loadbar_mc._width)) {
nextMovie();
}
Is this the best way to detect when a movie is done or is there a better way. I don't really like my method because it potentially could cut off a half a second of video.
View 3 Replies