A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: virtual jukebox

  1. #1
    Member
    Join Date
    Dec 2002
    Posts
    37

    virtual jukebox

    this has probably been asked before, but i want to make a virtual jukebox on my site, but i've run into this problem.

    if different buttons make different songs play, then the first song is still playing while the second one has started, but if i make a 'stop all sounds command' then both songs stop. which makes the whole thing useless.

    any ideas?
    Last edited by patricktherin; 01-03-2003 at 08:17 PM.

  2. #2
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    read FAQ #5 (and FAQ #6 too)

  3. #3
    Member
    Join Date
    Dec 2002
    Posts
    37
    how big should the movies with the songs on them be?

  4. #4
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    what do you mean by "big"?

  5. #5
    Member
    Join Date
    Dec 2002
    Posts
    37
    the size of the actual stage in the movie that the song is in.

    also, when i click the button to launch the movie with the song on it, the whole page goes blank.
    Last edited by patricktherin; 01-05-2003 at 02:56 PM.

  6. #6
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    size of the sound only SWF does not matter.
    load the SWF into another level not level 0.

    loadMovieNum("urlto.swf",1);

  7. #7
    Member
    Join Date
    Dec 2002
    Posts
    37
    oh... perfect. thanks,

    now, to figure out how to get the names to appear in a ticker tape style.

  8. #8
    Member
    Join Date
    Dec 2002
    Posts
    37
    so i have my jukebox up, only problem is it takes about 30 seconds after clicking for the songs to start, and i have high speed internet.

    anything i can do about that?

  9. #9
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    use stream sync to stream sounds as they download rather than load than load the sound completely before playback.

    click the sound on the timeline, add enough frames to see the entire waveform and choose stream sync.

  10. #10
    Member
    Join Date
    Dec 2002
    Posts
    37
    i tried that. and it says transfering from... but theres no music, at all.

  11. #11
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    does the music play when you test the sound only SWF on its own?

  12. #12
    Member
    Join Date
    Dec 2002
    Posts
    37
    yes, it plays right away, but when i upload the movies to my site, the streamed one just makes the 'transfering' appear with no sound. i'll try again.

  13. #13
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    if you are using MacIE, you may need to place the sound only swf and main swf in the same directory and use a full url to the sound only SWF

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center