Ask a Question related to Macromedia Flash Player, Design and Development.
-
mp3s file don't always play in this flash site
Hello!
I'm having some trouble with mp3s in a flash site. ([url]www.thejunglegroove.com[/url])
There is a page with four songs, but it's not always possible listen to
them. I don't know why it works sometimes yes and sometimes not.
I write the following code in action script, and I put the songs files
outside the .swf.
Please, let me know what you think about it, if you notice anything wrong.
riproduzione1=true;
riproduzione2=true;
riproduzione3=true;
riproduzione4=true;
s1 = new Sound();
s2 = new Sound();
s3= new Sound();
s4= new Sound();
s1.loadSound("http://www.thejunglegroove.com/song1.mp3",false);
s2.loadSound("http://www.thejunglegroove.com/song2.mp3",false);
s3.loadSound("http://www.thejunglegroove.com/song3.mp3",false);
s4.loadSound("http://www.thejunglegroove.com/song4.mp3",false);
pulsante1.onRelease=function(){
if(riproduzione1){
s1.start(0,999);
s2.stop();
s3.stop();
s4.stop();
riproduzione1 = false;
riproduzione2 = true;
riproduzione3=true;
riproduzione4=true;
testo="1 Song";
}
};
pulsante2.onRelease=function(){
if(riproduzione2){
s2.start(0,999);
s1.stop();
s3.stop();
s4.stop();
riproduzione2 = false;
riproduzione1 = true;
riproduzione3=true;
riproduzione4=true;
testo="2 Song";
}
};
pulsante3.onRelease=function(){
if(riproduzione3){
s3.start(0,999);
s1.stop();
s2.stop();
s4.stop();
riproduzione3=false;
riproduzione2 = true;
riproduzione1 = true;
riproduzione4=true;
testo="3 Song";
}
};
pulsante4.onRelease=function(){
if(riproduzione3){
s4.start(0,999);
s1.stop();
s2.stop();
s3.stop();
riproduzione4=false;
riproduzione2 = true;
riproduzione1 = true;
riproduzione3=true;
testo="4 Song";
}
};
ferma1.onRelease=function(){
s1.stop();
riproduzione1 = true;
testo="";
};
ferma2.onRelease=function(){
s2.stop();
riproduzione2 = true;
testo="";
};
ferma3.onRelease=function(){
s3.stop();
riproduzione3 = true;
testo="";
};
ferma4.onRelease=function(){
s4.stop();
riproduzione4 = true;
testo="";
};
Bye,
Roberta
________________________
[url]www.wint.it[/url]
Guest
-
Why doesn't Flash Player 9.0 play swf file?
Hi, please help, I have installed the Flash Player 9 on my computer but I don't know why doesn't it play swf file, it's even doesn't recognise... -
CFContent and passing mp3s to flash
Ok, I've been trying to use FLASH as an mp3 player (to help over come illigal downloads/saving) but my issue arrises in that (a) I need to pass the... -
How can I prevent MP3s to end up in the cache file in the user's pc?
Hi all. I stream MP3s (demo work) from my website. I would like them not to end up in the user's Temporary Files folder. Is there any way to... -
Flash file won't play
I recently saw an article on Macromedia DevNet about the browser changes Microsoft has in store for IE in the coming months. The article URL is as... -
Flash SWF file doesn't play in DCR - Director MX
okay, I imported an swf from Flash MX, as a Flash Player 6.0 into Director MX, I put it into the score and set the number of frames and when I...



Reply With Quote

