# Xml-flash mp3 player code troubleshooting needed

**URL:** <https://forum.kirupa.com/t/xml-flash-mp3-player-code-troubleshooting-needed/207473>\
**Category:** Uncategorized\
**Created:** [November 17, 2006, 10:13pm UTC](https://forum.kirupa.com/t/xml-flash-mp3-player-code-troubleshooting-needed/207473 "2006-11-17T22:13:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jifmoose](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@jifmoose](https://forum.kirupa.com/u/jifmoose)\
**Post date:** [November 17, 2006, 10:13pm UTC](https://forum.kirupa.com/t/xml-flash-mp3-player-code-troubleshooting-needed/207473/1 "2006-11-17T22:13:19Z")

</div>

Hi all…

I’m trying to make a SIMPLE xml-driven player in flash from a tutorial listed here:

[http://www.pixel2life.com/publish/tutorials/17/create\_a\_full\_streaming\_flash\_mp3\_player\_using\_xml\_/page1/](http://www.pixel2life.com/publish/tutorials/17/create_a_full_streaming_flash_mp3_player_using_xml_/page1/)

but I’m experiencing bugs! I have 4 songs that I want to play immediately and cycle (with the last song automatically followed by the first one again upon ending). Right now, the first song isn’t always the same (it’s a bit random) and it doesn’t jump to the next song when it ends. Please help!!!

The flash file is attached. My .xml code goes as follows:

[SIZE=2]\<?xml version=“1.0” encoding=“UTF-8”?\>[/SIZE]  
[SIZE=2]\<songs\>[/SIZE]  
[SIZE=2]\<song name=“4am” file=“4am.mp3” /\>[/SIZE]  
[SIZE=2]\<song name=“It’s OK 2 Love” file=“ok2love.mp3” /\>[/SIZE]  
[SIZE=2]\<song name=“Stay” file=“stay.mp3” /\>[/SIZE]  
[SIZE=2]\<song name=“Your Smile” file=“yoursmile.mp3” /\>[/SIZE]  
[SIZE=2]\</songs\>[/SIZE]

[SIZE=2]thanks,[/SIZE]

[SIZE=2]jifmoose[/SIZE]
