Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / June 2007



Tip: Looking for answers? Try searching our database.

Stream MP3 from URL button

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LeifKolt - 27 Jun 2007 22:29 GMT
Hello,

Can anyone give me the ActionScript to solve this problem.

I have a button, when this button is clicked I want it to play an MP3 from a
URL somewhere on the web. In this case
"http://www.leifkolt.com/WeAreAllTerrorists.mp3"

I am trying to build my own player within my website (entirely built in flash)
and don't want to mess with the hassle of a scripting a playlist etc... I just
want to have the song names as buttons, and when you click the button it plays
the desired MP3 off of my web server.

Any help is greatly appreciated. THANKS!

LEIF(kolt)
Travis - 28 Jun 2007 13:23 GMT
> Hello,
>
[quoted text clipped - 12 lines]
>
>  LEIF(kolt)

In the onClick event use the load method of the sound object.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.