14 Comments
I would be grateful forany help.
Many Thanks,
Pete Leutner
reason two, some servers have speciffic requirements about upper and lower case letters including the extension, for example song.MP3 will not work, while song.mp3 will.
third reason is that the path to the mp3 file is not specified correctly.
Try whether it is not one of those, and if not send me the mp3 and I will take care you get your problem fixed.
Regards,
Dimitar
All I have done so far is embed the code "<p style="text-align: center"> <embed type="application/x-shockwave-flash" height="400" width="500" src="http://www.ekr.net/doc/img/SoundSpectrum.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" menu="true"></embed></p>
<p style="text-align: center"> </p>
<p style="text-align: center"> </p>"
Do I need embed any further code to tell the player to look at an mp3 source? I thought it would react to the sound card output on the computer?
I would like it to react to our audio mp3 stream which is " http://78.129.163.140:8070/listen.pls"
Do I need to do something like this: "var myObject:Spectrum = new Spectrum(78.129.163.140:8070, 256);"
Cheers
Pete
you have to change it to http://78.129.163.140:8070/listen.pls
I will take a look during the weekend, would there be any issues with loading your streaming file.
Regards, Dimitar
Thanks for trying it over the weekend. I see that "notepad" doesn't open the SWF file properly so difficult for me to see the "song.mp3" to be able to edit.
Cheers,
Pete
You will not be able to open either with notepad.
I have found out that you are trying to do is to pass a play list file (PLS) to the flash, which will not work.
You need to specify the URL of an MP3 file. Once you give me the mp3 location I will tailor the flash to
play your file.
Thanks again for your assistance. The URL for the mp3 "streamed" file is http://78.129.163.140:8040
This isa live mp3 stream at 64kbs
Cheers
Pete
Glad you managed to tailor it to make it work with our audio stream.
Cheers,
Pete
For example I have a DJ who has 2 demo files. One is called commercials.mp3 and one is called sports.mp3
Are you saying that your .swf is locked to only look for song.mp3?
There's no way to pass the song name like "commercials.mp3" as a param or "sports.mp3" as a param?
Also, do you provide the .FLA file with the purchase?
It would seem I am having similar issues.
Strangely if I perform a flash preview within CS4 it works great!
However once I publish it and view it in a browser, it no longer works. The html file is here: http://www.revolutionbroadcasting.com/rb_stream.html and the .swf file here http://www.revolutionbroadcasting.com/rb_stream.swf
Any help you could provide would be astounding.
Thanks,
Eric Nordstrom
eric@nordstrom1.com
import com.pkg.tes.*;
stop();
var req:URLRequest = new URLRequest("http://stream.ronpaulradio.com:8000");
var sound:Sound = new Sound(req);
sound.play();
var thin:Spectrum = new Spectrum(this.holder, 256);
var thick:Spectrum = new Spectrum(this.holder2, 25);
I tried it with the listen.pls at the end of the URLRequest but it only seems to work while leaving off the .pls file in the string.
! Reacts to the music being played
! Highly customizable (supports 1 to 256 spectrum lines/bars)
! Supports more than one spectrum object
! Very low processor load
! All functionality is well commented and wrapped in a package
! Extremely easy to use and deploy
! No predefined animation
! No repetitive patterns
var myObject:Spectrum = new Spectrum(wrapper, barCount);
myObject:Spectrum - your spectrum object
wrapper: MovieClip - pass a movie clip as a parameter in which
the spectrum animation is placed
barCount:int - number of bars(lines), ranging from 1 to 256