Welcome to TalkGraphics.com
Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Flash Jukebox

  1. #1
    Join Date
    Jul 2006
    Posts
    1

    Talking Flash Jukebox

    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
    IP

  2. #2
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Flash Jukebox

    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.
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Flash Jukebox

    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);
    }
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	!Export.jpg 
Views:	7223 
Size:	53.1 KB 
ID:	27469  
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  4. #4
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Flash Jukebox

    Nice job Egg!
    IP

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Flash Jukebox

    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

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  6. #6
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Flash Jukebox

    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 :-)
    IP

  7. #7
    Join Date
    Oct 2007
    Posts
    8

    Default Re: Flash Jukebox

    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?
    IP

  8. #8
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Flash Jukebox

    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
    IP

  9. #9
    Join Date
    Oct 2007
    Posts
    8

    Default Re: Flash Jukebox

    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.

    ?????
    IP

  10. #10
    Join Date
    Sep 2004
    Location
    Denver, CO
    Posts
    533

    Default Re: Flash Jukebox

    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.

    Red

    Big Plan Creative - Napoleon had one . . . Einstein had one . . . Do you have one?
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •