Thu 16 Feb 2012 02:37:22 PM UTC, original submission:
Hello, I've used Gnash 0.8.9 and 0.8.10 to play Flash 7 file that tries to play sound within ActionScript 2.0, using the code:
snd=new Sound(this);
snd.attachSound("beep-note");
trace("sound: starting");
snd.start(1.0,0);
It supposed to play sound from offset '1.0' sec with repeat value '0' (which Flash Player will treat it like a repeat value '1'; playing the sound once)
Which this sound has three part:
0.000-1.000 sec: the sound of C5 note (low pitch)
1.000-1.300 sec: the sound of C7 note (high pitch)
1.300-2.300 sec: the sound of C6 note (middle pitch)
Specifying offset '1.0' sec was supposed to skip the first part (low pitch) completely, and playing from the start of second part (high pitch) to the end (middle pitch).
But on Gnash, you will hear the first part slipped through, which means Gnash was seeking to about ~0.1 sec earlier than the intended position.
http://www.mediafire.com/download.php?7gcy3zvm7ljo4dc
This is a 'correct' result from Macromedia Flash Player 7
You will notice that sound was high pitch followed by middle pitch, and was played only once.
http://www.mediafire.com/download.php?f75tcb8hmn8vyvn
This is a video result from Gnash 0.8.10
You will notice that you could hear a bit of low pitch (the first part) sound on the start.
And sound was looped infinitely, which was a symptom of bug #35545 (zero-repeat issue), with a gap between loop which likely to be a symptom of bug #24481 (actionscript sound loop gap).
http://www.mediafire.com/download.php?m6it6k36kha5gx5
This is my dummy flash file (created from Flash MX 2004), accompanied with source code and the sound, also attached here.
Gnash: gnash_0.8.9-1~lenny and gnash_0.8.10-1~lenny from getgnash.org APT repository (both give exactly same result)
System: Debian GNU/Linux 5.0 Lenny on i386
|