A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: mp3 streaming problem

  1. #1
    Member
    Join Date
    Jun 2000
    Location
    Taiwan
    Posts
    77

    mp3 streaming problem

    I'm loading a sound using:

    PHP Code:
    main_sound = new Sound();
    main_sound.loadSound("mysound.mp3"true); 
    This works fine. Here's where it's weird. If I compress the file at 128 kb it works fine but as soon as I compress the file at 96 kb when I play the flash movie the sound plays about twice as fast. Chipmunk style. Any ideas? I've tried two different wav to mp3 encoders.

    Thanks!

    -Sean

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

  3. #3
    Member
    Join Date
    Jun 2000
    Location
    Taiwan
    Posts
    77
    Perfect. Thanks!

  4. #4
    Junior Member
    Join Date
    Feb 2003
    Posts
    16

    control

    Hey. . .

    This has nothing to do with the "chipmunk" style compressing stuff but I actually have another question about that same script.


    How would I script a button to stop "main_sound"

    once stopped. .

    How would I script a button to reload it again?

    This is what I have(for stop);

    main_sound.stop("mysound.mp3");



    Thanks.

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

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