pipi7817 / as3wavsound

Automatically exported from code.google.com/p/as3wavsound
Other
0 stars 0 forks source link

soundComplete event is dispatched at the beginning of the playback #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add an soundComplete event listener to the channel returned by the play 
method of the class WavSound
2. run the code

What is the expected output? What do you see instead?
should call the callback when the sound finished playing.
but callback is called when sound starts.

What version of the product are you using? On what operating system?
v0.4

Please provide any additional information below.

Original issue reported on code.google.com by kay.sieg...@gmail.com on 20 Jul 2010 at 2:16

GoogleCodeExporter commented 9 years ago
I think this is already fixed in the source code but not yet release. I'll drop 
a new release with the latest code changes.

Original comment by b.bottema on 27 Jul 2010 at 5:32

GoogleCodeExporter commented 9 years ago
Ok, please verify if the problem persists in release v0.5

Original comment by b.bottema on 27 Jul 2010 at 5:41

GoogleCodeExporter commented 9 years ago
Thanks B.
Now the following exception was thrown:

TypeError: Error #2007: Parameter soundChannel darf nicht 'null' sein.
    at flash.media::SoundChannel/set soundTransform()
    at org.as3wavsound::WavSound/play()
    at de.tbwa.tvjokes::GUI/completeHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

Original comment by kay.sieg...@gmail.com on 28 Jul 2010 at 3:13

GoogleCodeExporter commented 9 years ago
BTW: Thanks very much. The recording works great and helped me a lot.

Original comment by kay.sieg...@gmail.com on 28 Jul 2010 at 3:15

GoogleCodeExporter commented 9 years ago
That is weird. You haven't made changes yourself?

Could you please provide an example with this problem?

Original comment by b.bottema on 28 Jul 2010 at 4:10

GoogleCodeExporter commented 9 years ago
Fixed in v0.6 release,. Get it over at ohloh (can't upload with Google 
currently):

https://www.ohloh.net/p/as3wavsound/download?package=Releases

Original comment by b.bottema on 10 Aug 2010 at 5:16