ActiveDen

Compact Xml Mp3 Player

  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
yunglee says
Purchased

Hey there,

I just bought your flash player. Can you please help me with detailed steps on changing the XML file name in the .fla file? I am a total newbie to flash but I need to put this player on my website on different pages with each instance of the player pointing to a different mp3 file. Thanks.

2 months ago
Author
mafloral mafloral replied

Hi there just open up the fla in flash cs3 and create as many fla and swf files as you wish. Also you will have to copy and paste the xml file as many times as you created fla and swf files. then just rename the xml, lets say flash1.swf you would rename the xml as flash1.xml. Now you will have to also change the name of the xml file in the code the path to the xml could stay the same.

If you have any problems zapp me an email.

Cheers Lester

2 months ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
yunglee says
Purchased

Hey Lester,

I sent you an email but haven’t heard back from you. My issue is that I don’t know how to find the path that links to the xml file in the FLA file. I’m a total newbie to Flash. Sorry. :(

2 months ago
Author
mafloral mafloral replied

I will email you back on the weekend.

Cheers Lester

2 months ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
yunglee says
Purchased

Hey Lester,

I still need your help. Please get back to me as soon as you can as I urgently need to get this player up and running. : (

2 months ago
Author
mafloral mafloral replied

Hey What exactly do you need? Do you need an explanation on how to duplicate the files? I sent you an email yesterday asking what do you need help with but got no response back. Let me know. Email me.

Cheers Lester

2 months ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
yunglee says
Purchased

I checked my email and didn’t receive an email from you yesterday. As I have mentioned from the beginning, I need help with the exact steps to change the path in the FLA file to point to different XML files. I’m not sure if that makes sense. I’m a newbie at Flash.

2 months ago
Author
mafloral mafloral replied

Ok so you will have to open up the fla and click the player—> actions frame.

On the 2nd line of the code you will see the path to the xml file:
_root.playlist == undefined ? playlist = "mp3_player.xml" : playlist=_root.playlist;
Now what you have to do is copy and paste the xml file as many times as you need it and re-name the copies to what ever you like. On line 2 of the actionscript you will have to change the “mp3_player.xml” once you have changed the xml name than you would save the fla and publish the swf. Here is how i would do it. Player1.fla so i would name the xml player1.xml and when you publish the swf i would name it player1.swf just so you know what xml file goes with each swf. If you are adding the mp3 player into an html page do not forget to embed it, just look at the compact_xml_mp3_player.html to have some reference when you are duplicating the player. I hope this helps, if you have any issues drop me a line. Cheers

Lester

2 months ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
yunglee says
Purchased

Hey Lester,

Sorry to bug you again about this. Thanks for your previous help so far. I’ve done exactly as you instructed with the .fla file and it worked. My issue now is getting the player to load on my html page.

Here is the link: http://bethelalive.ca/sermons/20120408.html

I did exactly as your sample html page has set up (I think). Any ideas why the player isn’t loading?

YUNG

1 month ago
Author
mafloral mafloral replied

Hey I checked the link and the player works fine for me. When you click the play button it starts the mp3. Maybe there is something wrong on your end. I checked it on 3 different computers had no problem.

cheers

Lester

1 month ago
by
by
by
by
by