Download Source Files: http://www.developphp.com/list_flash_video.php#Sound_and_MP3_Programming
How to build a cool scroll view and click Flash nand XML playlist mp3 player for your projects part 3. Using Actionscript 3.0 for Flash CS3, CS4, CS5, and CS43.
Brought to you by: http://www.developphp.com
IN PART 3 I TYPE ALL CODE CORRECTLY BUT I KEEP GETTING THESE COMPILER ERRORS:
1120: Access of undefined property trackToPlay.1120: Access of undefined property trackToPlay. CAN SOMEBODY PLEASE HELP ME!!!I I'VE BEEN UP ALL NIGHT TRYING TO CORRECT THIS
modelzmoneymurda 1 month ago
the links arent there anymore
lmj4life 1 month ago
In the "itemClick" function, why can't you just use the "songTitle" variable instead of creating the new variable "songString"?
IceCubeVideos 2 months ago
Adam, Thanks so much for your tutorials. Have learned alot from them. Went through all seven and have changed a few things it get it to work like I want. Not Autoplaying, Click play button plays first song or click on a song and it plays it. Now what I am trying to do is play through the playlist once and then stop the player. Not sure if possible or not. Even if you click on the 5th song, you have 10 songs in list it will play from 5th song through list to 4th song and stop. If possible. Thks
RednekHeaven 3 months ago
hey, i am not getting any sound @ the end of lesson 3. No compiler errors but no sound. HELP!
beatzbyreefah 10 months ago
You are awesome man!! So far my mp3 player is working good, and it's the first time that that happens jaja. Thanks for explaing it sooooo well!
paranoidsucker 11 months ago
hello i have replaced the audio files you used with the ones that i would like however i keep getting this error and none of the songs play, please could you help
Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts.
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error. at AS3_MP3_XML_Playlist_Player_part_7_fla::myWholePlayer_2/frame3()
Thanks, Steve :)
stevepk123 1 year ago
@bobes817 I had the same problem. It helped me to put the mp3s into the same folder as my swf file. Don't forget to delete the folder name on frame 1 and 2. -> where it says:
songURL=new URLRequest("folder_name/" + firstSong + ".mp3");
should now be:
songURL=new URLRequest(firstSong + ".mp3");
Oh and make sure your mp3s are called right! They have to be called exactly the same as the "songTitle" in your XML. ONLY songTitle NO ARTIST
hope I could help somebody
derrellestesta 1 year ago
hey Adam i got this error ----
Error: Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful. at flash.media::Sound/_load() at flash.media::Sound/load() at mp3_player_fla::MainTimeline/startPlay() at mp3_player_fla::MainTimeline/changeSong() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at fl.controls::SelectableList/handleCellRendererClick()
stuckUPstudios 1 year ago
@bobes817 I'm having the same issue. Have you found any answers?
RedfordRobert 1 year ago