ActionScript 3.0 :: Music Player Coding Adjustments - Customizing Features
Jan 30, 2009
I got a music player template online and I am having trouble customizing some of the features.
1. It has a play/pause toggle button, and I have them separated, and included a stop button.
2. I wanted the volume to go up and down, instead of left and right
3. And I would like my picture to change when I hit next
I know how to create a FLV player in FLASH - But how do I add other features in the right click menu when a visitor hovers over the player? Like my own domain name & a toggle full screen and more.
I'd like to know if it is possible to enable/disable some piece of code according to Flash Player version in ActionScript 3.
Let's say; I have a custom class customClass that uses flash.media.Microphone. The Microphone class has a property isSupported which is available for Flash Player version 10.1 and above (as stated in the documentation). I implement this property in my customClass... so:
I need something like this (by checking with the built-in Capabilities.version):
if (version >= 10.1) { trace(_mic.isSupported); //this will throw an error if the debug version is not 10.1 or later } else { doSmthElse(); }
As in subj. Is it possible to make a video player which will run on FP9 and when FP10 is detected use some of its features as Stage video API or pixel bender shaders?.I've tried to access FP10 classes via getDefinitionByName but it doesn't work
I'm a relatively experienced Web developer, but this is my first foray into playing (streaming) music. All of the music players I've run across either load MP3s from an XML file (which exposes the MP3s' URLs) or have code embedded in them that loads URL-accessible audio files. Due to copyright issues, this is not acceptable for my client's content.So, I'm looking for one of two things...(1) A music player that already exists that either plays music embedded into the FLA itself -or- can read the files from a non-public area on the file system, or(2) Sample code that generally approximates what I'm describing, from which I'll try to construct my own player.
I'm doing a site in JOOMLA and i want to add music to the site. For example if the user stop the music i want the music player to be able to stop the music and not reload the song if the user go to the next page. If the user dont stop the player, i want the song to keep playing if user go to the next page.in which way i can do this? i heard about adding some kind of cookie script to the flash player.
I want to add a really simple music player to my flash website.Basically all i want is one of my tracks to start when the page loads.Then a simple 'sound on/off'.
I am creating a little JavaScript music player that sits on the bottom of the page, a lot like streampad. But streampad uses a flash progress bar for the song and JavaScript for everything else and I am having a hard time finding anyone who does this with JavaScript alone.
I am new to AS3, and I am trying to make an XML music player. For reasons unknown, the music player that I have coded (GUI was made an placed on the stage, so coding for those are not included.) will not display text or play the music. The code I have so far is:
var my_songs:XMLList; var my_total:Number; var my_sound:Sound;[code]....
I wanted to create an interesting music player that would show an animation that would basically open like a door, then show you buttons for each song to be played. I made the music play by creating the buttons with the music in the "Down" frame of the button. This worked great, it played my music and played music when you pressed another button. However the problem lies with having music playing and clicking on another button. Both songs play at the same time.
To fix it I looked around to find a command that would stop all music playing when any button was clicked so that when music was playing, and you clicked a button for another song, the previous song would stop playing, and play the next song. However all the commands I tried gave me errors, or they made the button unable to start the song.
I'm trying to build a music player that has multiple songs it can play. It should be fairly simple with next and previous buttons. I'm trying to get it to load a song based on an array I have created. Everything works fine with only one track but I'm unsure how to add more tracks. This is what I've done so far:
I want to make a music player, when you select a label, a music starts to play. But i need to do this by a dynamic text variable, because the player and the list is in different movieclips. Erm...give me an example script of when i click the label, the text changes, and for the player, check if the text is something.
I just made a little site with CS3 where songs are supposed to stream and well the music player takes forever to load. Each song is supposed to be dynamically called by the actionscript but it looks like each song is being downloaded all at once when the page opens.
I am basically creating a Music Player using Flash CS4, iam loading the tracks & all info from a text file & ID3 tags.the code works fine in Flash CS3, but spits out this error in CS4[code]...
I'm creating a website for a local band and in this site is an animated banner with a music player incorporated on it. The banner has been made in Flash using AS2.I'm having a bit of a problem at the moment figuring out a way to get my 'Next' and 'Previous' buttons working, so that once they are clicked the user can toggle through different songs, and be able to play and stop each song as they require.
I'm creating a music player to be on my website and so far I have it set up as such: The player is contained in a movieclip with a 'song progress bar', a pause and a play button.The songs are played by clicking the song title in a list in the main stage (not contained in the player movie clip), which sends the music player to the frame in which the song starts.
My audio is set as event audio so that the play and pause buttons can be coded as play(); and stop(): respectively which will stop the main player movie clip thus yeilding the progress bar from moving further and the song from playing.
This works just fine, except for the following:
- When I select event as my audio type the quality reduces dramatically Having the audio files in my library and not obtained from some outside source (i.e on my website's server) causes the .fla file to be much larger as well as the .swf Being as my project is at 24 FPS and each song is represented in as many frames as it takesto play the song out, my music player at present has only 3 songs 'in it', and my frames in the movie clip are approaching 20,000 (this is VERY tedious to work with)
I'm sure there is a more efficient way of doing things, but my knowledge is limited. I'd imagine I can do something along the lines of loading .mp3's off of my website into the frame and the play pause buttons will enact more elaborate scripts that not only stop the progress bar but also stop the music from playing temporarily, or something like this. But I have no idea how to implement it
i need a flash player (to embed in a html file) that can play external files mp3 through xml and just a simple play and pause buttons... i've been searching in google but it just shows up players with a big playlists and too much buttons for my work
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.
I have been browsing the web for HOURS looking for help with this subject. I created a flash based website and I need to load my myspace and snocap music player into my flash project. Both players are flash based....I'm certain there is some form of actionscript I can use I just don't know what it is and I am getting frustrated! [url]...
does anyone know a Flash Mp3 Player where I can add and delete songs dynamically from a playlist like in simfy.de ? I made one in JS but it is not very stable and does not have a nice design [url]... . All Players I've found, load playlists from xml files.
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();
I have a Flash website that moves from page to page by jumping to various frames in the timeline. Clicking on a button causes a jump to a specific frame. It is necessary to have stops in several frames. I'm trying to run an mp3 player in the background. The player is running on it's own layer. It works when I launch the page and when I go from page to page until I hit a frame with a stop at which point, the player stops. How can I prevent this?
I currently have an HTML website but add some music.The specific type of music player I want looks a lot like this:[URL]It seems that it is flash based.how I can find the proper code and steps in adding this to my current HTML based website? Is it even possible since my site is not a flash site?I adore this music player but I'm not sure how it would work and where I can find the proper information on either downloading it or coding it into my website.
2.The music player LOOPS one sound taken from an array of 3, and the sound is attached with attachSound method.
3.There are 3/4 buttons: Previous sound, Stop, Pause, Next Sound. With "previous sound" and "next sound" i actually mean next sound in the array.
So...I'm a bit "stuck" on managing the loaded and attached sounds, aka how to go to next sound, how to go to previous one etc.This is the code i've been able to write down:
Code: var soundFiles:Array = ["9052_ok.mp3", "Glimmer_ok.mp3", "Loop_9095_ok.mp3"]; function playSound() { var my_sound:Sound = new Sound(