commit dabfe03e024e9f940391f2b5c8c5ed1df1bb6251 Author: David Fifield david@bamsoftware.com Date: Sat Jul 23 16:56:59 2011 +0000
Reset the "connected" property on NetConnection.Connect.Closed. --- RTMFPSocket.as | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/RTMFPSocket.as b/RTMFPSocket.as index 4de3502..4dd54c5 100644 --- a/RTMFPSocket.as +++ b/RTMFPSocket.as @@ -78,6 +78,7 @@ package { switch (e.info.code) { case "NetConnection.Connect.Closed": + connected = false; dispatchEvent(new Event(Event.CLOSE)); break; case "NetStream.Connect.Closed":