all groups > macromedia flash handhelds > april 2005 >
You're in the

macromedia flash handhelds

group:

Why does mp3-streaming not work?


Why does mp3-streaming not work? Korben Dallas
4/20/2005 10:47:01 AM
macromedia flash handhelds:
Hello,

I am loading a streaming sound into my flash application by using the
following commands:

my_sound = new Sound();
my_sound.loadSound("http://[path], true);

It works fine on my PC, but unfortunately the Pocket PC Flash ignores the
streaming directive and plays the mp3 only if it is completely loaded into the
cache.

Does anybody know how to change this behaviour? I set the parameter
_soundbuftime = 1 in order to start the sound immediately but it didn?t had any
effect.

-- tobi


Re: Why does mp3-streaming not work? The Accuser
2/4/2006 2:33:07 PM
My experience with sound has been really weird in Flash Lite as well. It
definitely doesn't act like sound in Flash. One thing I do know is that
sound must be pre-buffered in order for it to play correctly.

Two things you can do to speed up the loading of the sound are:

1) Insert an empty sound clip somewhere on the same timeline BEFORE the
sound you really want to stream. This will kick the sound buffers into
action and prevent pausing.

2) Split up the sounds you want to play into smaller files.

Re: Why does mp3-streaming not work? The Accuser
2/4/2006 2:37:07 PM
Re: Why does mp3-streaming not work? The Accuser
2/4/2006 2:40:24 PM
My experience with sound has been really weird in Flash Lite as well. It
definitely doesn't act like sound in Flash. One thing I do know is that
sound must be pre-buffered in order for it to play correctly.

Two things you can do to speed up the loading of the sound are:

1) Insert an empty sound clip somewhere on the same timeline BEFORE the
sound you really want to stream. This will kick the sound buffers into
action and prevent pausing.

2) Split up the sounds you want to play into smaller files.

AddThis Social Bookmark Button