Flash Media Server |
|||
| Developing Media Applications > Debugging and Monitoring Applications > About onStatus event handlers > Where to use onStatus handlers in a script | |||
Because of network and thread timing issues, it is best to place an onStatus handler before a connect method in a script. Otherwise, the connection might complete before the script executes the onStatus handler initialization. Also, all security checks are made within the connect method, and notifications are lost if the onStatus handler is not yet set up.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/fms/2/docs/00000095.html