A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Music Playing...

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Location
    syracuse
    Posts
    5

    Music Playing...

    Hi there,
    OK I am pretty new at this flash stuff, in fact I have only done about 3 sites with flash, and of course I am self taught. Now I made a flash section of a site I am doing, and added a "play button" to play an mp3 on the site. But it takes SOOO long to load. Is there a way to get this thing to load faster? The mp3 is about 3.3 mb.
    and it is Imported into the flash.

  2. #2
    Flashkit Jedi

    Join Date
    Jul 2001
    Location
    Coruscant System
    Posts
    3,426
    Either downgrade the quality of the mp3 before you import or use a smaller mp3...

    XFM

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Well you could re-compress it to get the size down, or you could dynamically load it from outside your Flash movie itself and make it a streaming soundObject...

    http://www.kennybellew.com

  4. #4
    Flashkit Jedi

    Join Date
    Jul 2001
    Location
    Coruscant System
    Posts
    3,426
    Dynamically loading in the mp3 would ultimatly take even longer, as flash compresses sound when imported, so instead of taking whatever amount of time to load aprox 500k (imported) you would be waiting even longer for the dynamic 3.3mb one.

    XFM

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    If an event soundObject yes that's true, but if you load a streaming soundObject, it usually starts playing within 5 seconds (on it's own) on a fast connection, and continues to download while playing.
    Though on a 56k modem, you would have to extend the preloading up to 80%, for it to play without breaks.

  6. #6
    Flashkit Jedi

    Join Date
    Jul 2001
    Location
    Coruscant System
    Posts
    3,426
    Prehaps two different options for the user to choose from would be better, like for fast and slow connection users?

    XFM

  7. #7
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Your choice!

  8. #8
    Junior Member
    Join Date
    Apr 2003
    Location
    syracuse
    Posts
    5
    Thanks a lot guys. I appreciate your time and help. I will test my different options.

    --~AJ~--

  9. #9
    Flashkit Jedi

    Join Date
    Jul 2001
    Location
    Coruscant System
    Posts
    3,426
    No probs.

    XFM

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