Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
More info...

More info...

2004-03-01       - By Nick Kuh

 Back
Reply:     1     2     3     4     5  

Here's why I mentioned the checkForAlive method here's a section of trace
data when all clients got disconnected, there was no message that the app
shut down:

Error : command msg sent before client connection has been accepted.
SouthSide is dead, disconnecting
Error : command msg sent before client connection has been accepted.
Izzyiscool is dead, disconnecting
Error : command msg sent before client connection has been accepted.
sammy is dead, disconnecting
Error : command msg sent before client connection has been accepted.
Loz is dead, disconnecting
Error : command msg sent before client connection has been accepted.
Izzyiscool is dead, disconnecting
Error : command msg sent before client connection has been accepted.
Error : command msg sent before client connection has been accepted.
rishi is dead, disconnecting
SouthSide is dead, disconnecting
Error : command msg sent before client connection has been accepted.
rick is dead, disconnecting
Error : command msg sent before client connection has been accepted.
sammy is dead, disconnecting
Error : command msg sent before client connection has been accepted.
Loz is dead, disconnecting
Error : command msg sent before client connection has been accepted.
tasha is dead, disconnecting
Error : command msg sent before client connection has been accepted.
rishi is dead, disconnecting

So what would cause executed == false?

application.checkForAlive = function(client) {
   var res = new Object();
   res.client = client;
   res.onResult = function(val) {
       //trace(client.username+" is ok");
   }
   res.onStatus = function(info) {
       trace(client.username+" didn't respond");
       application.disconnect(this.client);
   }
   var executed = client.call("areYouOk", res);
   if (executed == false) {
       trace(client.username+" is dead, disconnecting");
       application.disconnect(client);
   }
}

> From: Nick Kuh <lists@(protected)>
> Reply-To: flashcomm@(protected)
> Date: Mon, 01 Mar 2004 17:36:28 +0000
> To: <flashcomm@(protected)>
> Subject: [FlashComm] Bad network data - getting hacked?
>
> I've been following this application I built over the last 3 days - watching
> the traces for bugs as it seems to behave a little erratically every so
> often.
>
> I posted before about the application getting unloaded even with 10+ clients
> connected and no error message - just informing me that the app had been
> unloaded in the inspector.
>
> Has this happened to anyone else? Have you narrowed it down to what caused
> the app to get terminated?
>
> Just now a new error:
>
> Bad network data; terminating connection :
> rtmp://_defaultRoot_/_defaultVHost_/AppName/_definst_
>
> This seemed to really screw the app up. I tried to connect to it and got the
> message that is programmed to appear when the rtmp connection is lost. The
> app was screwed. It didn't appear to restart until I forced it to.
>
> I'm also getting this message sometimes:
>
> Error : command msg sent before client connection has been accepted.
>
> None of these bugs existed until 3 days ago
>
> Am I getting hacked?!
>
> :-(
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> Supported by Fig Leaf Software
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> Lower Prices for Certified Training! Check out new lower prices for
> Certified Macromedia Training from Fig Leaf Software. Expand your
> skill set with courses in ColdFusion, Flash, Rich Internet
> Applications and .NET in the new year.  Fig Leaf Software provides
> the highest caliber instruction at our training centers in Washington
> D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at
> your location.
>
> Get the details at http://training.figleaf.com/
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: flashcomm-unsubscribe@(protected)
> For additional commands, e-mail: flashcomm-help@(protected)
>
>


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Supported by Fig Leaf Software
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Lower Prices for Certified Training! Check out new lower prices for
Certified Macromedia Training from Fig Leaf Software. Expand your
skill set with courses in ColdFusion, Flash, Rich Internet
Applications and .NET in the new year.  Fig Leaf Software provides
the highest caliber instruction at our training centers in Washington  
D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at
your location.

Get the details at http://training.figleaf.com/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: flashcomm-unsubscribe@(protected)
For additional commands, e-mail: flashcomm-help@(protected)