Hi
New to Flash, was wondering if any one out there could give us instructions in creating a simple juke box in flash. Just need a play, next track and start button. Want to play ten mp3s.
Any help much appreciated
VJ
Hi
New to Flash, was wondering if any one out there could give us instructions in creating a simple juke box in flash. Just need a play, next track and start button. Want to play ten mp3s.
Any help much appreciated
VJ
Hello... (sorry have trouble spelling your name...)
You can follow this link:
http://www.swishzone.com/
Or you can learn how to create a simple jukebox:
http://www.cartoonsmart.com/XML_MP3_player.html - I bought this tutorial and I'm very happy with it.
Regards,
Availor.
Hi Vijayram,
There's probably many ways to do this but here's my method.
In the attached screengrab create 10 buttons (in the screen grab they're named Track 1, Track 2, Track 3, "South of the River", etc.
Now on each button attach the following AS
on (release) {
loadMovieNum("track1.swf",10);
}
Alter the action for each button to
'loadMovieNum("track2.swf",10);'
'loadMovieNum("track3.swf",10);'
'loadMovieNum("track4.swf",10);'
etc
Now create a new fla file for each of your mp3's. Drop a copy of the mp3 onto the time line. Save & Publish.
Create a StopPlaying button on layer0 and give it the following code:
on (release) {
unloadMovieNum(10);
}
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Nice job Egg!
Cheers Paul,
This was for a draft site I did for a local pop singer. It was the best site I never did in my opinion. He thought the juke box image was to 50/60's, but that's exactly what his music was.
But then, he's the client.
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Clever thinking Egg.... My problem often is that I always seem to look after a more complicated way, whereas there is a more simple way to do it... I've been pulling my haid out trying to follow some of the tutorials using XML tags to load soundtracks.... When I could use the loadMovie command... brilliant Egg :-)
I used the method above and all works in Flash and if I publish preview in HTML it was well but not on my website.
I created swf files for the songs and published them and created swf file for jukebox using the codes. All files transferred to server but it does not load the songs.
Anyone have any idea what I could do next?
If it works in preview, but not on the server, my guess is that the song.swf files aren't in the same directory as the jukebox swf.
Paul
All swf files are located on server under the same folder.
I have inserted the swf doc using Dreamweaver. Code below:
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','260','heigh t','200','title','TAT Remixes','src','../FlashDocs/TAT Jukebox','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','../FlashDocs/TAT Jukebox' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="260" height="200" title="TAT Remixes">
<param name="movie" value="../FlashDocs/TAT Jukebox.swf" />
<param name="quality" value="high" />
<embed src="../FlashDocs/TAT Jukebox.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="260" height="200"></embed>
</object></noscript>
I get the image but not the sounds when the buttons are clicked.
?????
Do you have the Scripts folder that's created uploaded?
It won't work without that.
Long story short, it's a work around to a plug-in law suit that came up a few years ago.
Bookmarks