Jump to content


Create a Full Streaming Flash MP3 player using XML! i need help with this tut


  • You cannot reply to this topic
8 replies to this topic

#1 signum

    Young Padawan

  • Members
  • Pip
  • 5 posts

Posted 18 July 2006 - 08:14 PM

I am having trouble with this, http://www.pixel2life.com/twodded/t_create...yer_using_xml_/

I have got everything to work while its on my computer but when I upload it wont play anything. It keeps saying loading, I think it has somethng to do with the playlist.xml. I have changed the paths inside the .xml several times but it still dont work. thats the location of my mp3. All of my other files are in the same location. So what do I put in for the path in the xml? everything i have tried doesnt work. Any help here please?

#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 19 July 2006 - 03:27 AM

is the xml also in the same location as the SWF?
Is the path to the XML correct?
instead of using absolute links, use relative links.

#3 signum

    Young Padawan

  • Members
  • Pip
  • 5 posts

Posted 19 July 2006 - 10:32 AM

is the xml also in the same location as the SWF? Yes
Is the path to the XML correct? I have tried just "playlist.xml" and the whole url path to the xml
instead of using absolute links, use relative links. I have tried both, but neither work.



http://www.filelodge.com/files/room28/7680...ce/playlist.xml



thats where all my files are at. I have tried both relative and absolute but neither work for some reason.

I have changed the path to the playlist in the fla several times 2, right now i have it set all to relative links

#4 signum

    Young Padawan

  • Members
  • Pip
  • 5 posts

Posted 19 July 2006 - 11:53 AM

dont know what i was doing wrong, but its working now. I have to use absolute links. Great tut thanks!

#5 PixelWarrior

    Young Padawan

  • Members
  • Pip
  • 8 posts

Posted 22 July 2006 - 12:23 AM

I was wondering if it was possible if the player only streamed on load and didnt play. Instead of playing as soon as it had enough streamed

#6 Wowzers

    Young Padawan

  • Members
  • Pip
  • 40 posts

Posted 22 July 2006 - 12:56 AM

Did u update the swf? lol.. Sometimes it takes a while for an swf file to update (for me atleast).

#7 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 22 July 2006 - 06:36 AM

you can take the automatic play out, there is a topic somwhere in here.
Problem is if you don't play the sound, the file will never be buffered.
Alternatively you could write a function which starts the sound and stops it right after a few ms..

#8 PixelWarrior

    Young Padawan

  • Members
  • Pip
  • 8 posts

Posted 23 July 2006 - 02:18 AM

Didn't find the topic.. but I managed to fix it anyhow.
Autoplay is can be removed by deleting line 36:
_root.sound_mc.songStarter(songfile[song_nr]);

(couldnt make it stop right after a few ms code... :P )

#9 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 24 July 2006 - 07:05 AM

you need to write that function by yourself noone asked for a "no-play, but buffer anyway" function ever.. to be honest, it doesn't even make sense for me, why wasting the users bandwidth.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users