ActionScript 3.0 :: Get Song Without Words?
Aug 15, 2010Where I can find song without words?
View 2 RepliesWhere I can find song without words?
View 2 RepliesI 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]..........
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 Repliesso i search for keywords ofc, but...doing this isn't really my thing:input.text.indexOf("spam") != -1 && input.text.indexOf("more") ! -1 && ... etc
I'd like to make it some what like:input.text.indexOf(<database>) != -1
I am developing an online listen music website, on that I want to play song based on the user selection from gridview.right now I am using flash object for playing mp3 and video file this is running fine but its static path.how I can dynamically pass file URL of selected song on flash object.
View 3 RepliesIn the animation im making i have multiple scenes in it and i was wondering how i could have 1 song play throughout the whole animation?
View 2 Repliesi want to play a mp3 song when i click on button song play and when i click on stop song will be stop.
View 5 RepliesI have an mp3 file that i dragged into a layer, which starts playing at the beginning of my movie.if i preview, i can hear it playing.
annoying problem is that if i stop or pause the preview, the music keeps playing and if i start it again, another instance of the audio track starts playing again so that they are playing at the same time.
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.
find out the bit rate of a playing song using As2 or 3.
View 1 RepliesI have an mp3 on my little site, but when It is supposed to load, instead of the percentage number, its just says NaN.
Code:
AudioXml = new XML();
AudioXml.ignoreWhite = true;
AudioXml.onLoad = LoadXmlFile;
AudioXml.load(playListPath);
function LoadXmlFile(success) {
[Code] .....
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] .....
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?
PHP Code:
var aaa:Sound = new Sound (new URLRequest ("awd awd.mp3"));aaa.play ();trace (aaa.id3.artist);
The song plays but when I try to get the song's artist / album it returns null. I also tried copying the format from live adobe help website but it still returns null.
Also I have 3 songs named 1, 2, and 3 in a folder. I made a playlist type thing and it works fine, the only problem I see is that I would have to rename 30 songs.
I want to import a song to the stage but I have a key frame every 15seconds and the song starts every 15sec! what do I have to do to hear the hole song in one time and not to hear the song repeated times?
View 3 RepliesI want to know that how can I run same song for all listeners like radio.
View 1 RepliesI am putting together a collab, and I want to know what actionscript is needed to goto and play a particular place in a song? I realise goto and play is for frames, but you get what I mean, like goto and play 2:34 of the song, or goto and play 154 seconds in of the song.
View 3 RepliesI'm relatively new to AS3 and I'm working on this site/mp3 player. Everything is perfect except I can't figure out how to get the next song to play automatically. I know it's a couple lines of code that I should know by now.
Code:
import fl.events.SliderEvent;
//create instances of the three sound related classes that will be used for this project
var snd:Sound;[code]............
[code]...
It can only allow me to play the songs once? How cn i modify it such that it can play it continuously?
I am making a music player and I want to have the player start the next song when a song has finished. I am using a sound object. Is there a way to tell if the song has ended?
View 2 RepliesI have a function called "CallSound" that load sound to a movie clip and play it.I want to create new function that remove/unload the sound from the movie clip, because I want to load another sound to me clip and dont want the the new sound will play with the old one.How can I create a function called removeSound() that remove the sound that loaded before
View 1 RepliesI 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 Replieshow to get the current remaining time of a song and update that every second so I can display it on a textfield
View 3 RepliesIn Flash mx, how do you make a song loop, because everytime I make a quiz game and someone restarts the song is played over the other....confusing.
View 5 Replieswona make a .fla where a user can select a song and then pressing a "play" button listening it. I also have a "stop" button and a Volume control Slider. The problem is that i wona put a "pause" button too but i don't know how to syntax the code
View 1 RepliesI have a Music controller, but i want the song to start automatic when the flashfile is loaded. The script is:
var song:Song = new Song();
var myChannel:SoundChannel = new SoundChannel();
var soundVol:SoundTransform = new SoundTransform();
[code].....
I've got a flash website that I've been using a little while nowIt was created for me, but I know enough on how to edit itHowever, I recently decided to add new music instead of the regular loops used beforeI added three full mp3's to the library and they are on the site and allbut it cuts off after the first minute of the song and it starts over
View 10 RepliesI can't figure out why I am not able to make this work here is an example of what I am doing.I am importing an AS file that plays a spectrum and the song I have. Here is the code.
[code]
zoeyPic_mc.addEventListener(MouseEvent.CLICK, addMC);
function addMC(event:MouseEvent):void
[code]........
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 RepliesI 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] .....