
22.08.2010, 23:57
|
|
блогер
Регистрация: Oct 2009
Адрес: кочевник. Киев
Сообщений: 453
|
Цитата:
|
As a best practice, before you unload a child SWF file, you should explicitly close any streams in the child SWF file's objects, such as LocalConnection, NetConnection, NetStream, and Sound objects. Otherwise, audio in the child SWF file might continue to play, even though the child SWF file was unloaded. To close streams in the child SWF file, add an event listener to the child that listens for the unload event. When the parent calls Loader.unload(), the unload event is dispatched to the child. The following code shows how you might do this:
|
прикольно, вот почему звуки продолжают играть
__________________
мира и гармонии
|