Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Example of Mp3 Streaming 1

Status
Not open for further replies.

Karl Blessing

Programmer
Feb 25, 2000
2,936
US
is it possible for me to get an example of how I can stream an Mp3 into a small little box with a play/stop button.

What I am intending to do is have small flash movie, with play/stop , and I want to pass the name of the mp3 to load via the embed tag ( like samplebutton.swf?lowband=somemp3_low.mp3&braodband=somemp3_high.mp3 )

Anyone have any ideas?

Karl Blessing
PHP/MySQL Developer
Envynews.com
 
Ok good info, now how do I go about puting a variable from the PARAMs ont he html embed object into say.

mySound.loadSound("sample.mp3");

Karl Blessing
PHP/MySQL Developer
Envynews.com
 
Just pass the variable in the PARAMS as you would pass any variable(s), and use the appropriate variable in your loadSound's script...
 
you should probally put that tutorial in the FAQ so its more accessible to folks who try to search before they ask.

Karl Blessing
PHP/MySQL Developer
Envynews.com
 
Kenny's

I found the _level0 thing easy enough in a search.

Karl Blessing
PHP/MySQL Developer
Envynews.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top