
31.08.2008, 15:35
|
|
|
еретик
Регистрация: Jan 2001
Адрес: Харьков, Украина
Сообщений: 919
|
камешек в огород любителей почитать хелпы - код ваш крив.
правильно будет отловить onPlayStatus и там поделать чего угодно.
из того же хелпа:
[onPlayStatus] Dispatched when a NetStream object has completely played a stream. This handler returns information objects that provide information in addition to what's returned by the netStatus event. You can use this handler to trigger actions in your code when a NetStream object has switched from one stream to another stream in a playlist (as indicated by the information object NetStream.Play.Switch) or when a NetStream object has played to the end (as indicated by the information object NetStream.Play.Complete).
__________________
These unidentyfied flying objects, that appeared to display unique characteristics, such as the speed, the record maneuverity and so on, must be studied in the interest of mankind
|