PDA

View Full Version : Is there a bug with using an offset value with the sound object?


hockinsk
07-23-2001, 08:42 PM
Basically i got a sound.wav of 10 seconds in length in the library with a linkage identifier of "speechSound"

I create its object in _root with:

speech = new Sound(this);
speech.attachSound("speechSound");

i got various buttons in _root doin:

speech.start(0,0);
speech.start(3,0);
speech.start(7,0);
speech.start(8,0);

Problem is when i use an offset of more 7 or more, the sound plays from the offset for about a second, but fails to play all the way to the end of the sound???????

Any ideas, or is this a new bug as Macromedia don't seem to know anything about it!

If it works for offset values upto a certain no of seconds, why does it fail to complete the sound when the offset gets to a certain value?

Try it and you'll see!

Any ideas anyone?

Sam