This is the answer I got to my e-mail from Adobe:

Hello,
…..
Unfortunately there is a bug filed against the use of the stopAllSounds()and the FLVPlayback component. The stopAllSounds method breaks the play/pause button in FLVPlayback component.

The bug is currently deferred, so I can’t give you a potential fix date for this.

Regards,
Chris Bedford

Chris Bedford | Sr. Technical Writer | Adobe Systems

But I found a workaround using instanceof and checking if the object is instanceof Sound or instanceof FLVPlayback and then I call the Sound object’s stop() or the FLVPlayback component’s stop().

This is not very professional solution, but when I found a better one I’ll post it here.

BG version ——————

Ето какво ми отговориха на и-мейла от Adobe по повод на този проблем:

Здравейте,
…..
За съжаление има регистриран проблем за използването на stopAllSounds() с FLVPlayback компонента. Методът stopAllSounds “разбива” play/pause бутона на FLVPlayback компонента.

За момента решението на този проблем е отложено, затова не мога да ви дам конкретна дата за решаване на проблема.

Поздрави,
Крис Бедфорд

Аз обаче намерих един начин да заобиколя този проблем като ползвам instanceof и проверявам дали обекта е instanceof Sound или instanceof FLVPlayback и им давам едно stop(). Това е малко тромаво решение, но за момента не се сещам за нещо по-добро.

  • Share/Bookmark
Leave a Reply


TxEff - The Flash Text Effects