Macromedia Flash Server - Method not found

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > August 2005 > Method not found





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Method not found
Laurentiu Lozan

2005-08-06, 7:45 am

Greetings, FlashComm gurus.
Sorry for my lame question, first of all, but still i can't do it on my=20
own.
I have a method defined in the main.asc file as follows:
application.kickFunction =3D function(userName){
trace("disconnecting client "+userName);
//some code here
}
and in the application.onConnect =3D function(client, user){}
i have the " client.kick =3D application.kickFunction; " part.
the problem is that when i call the method from the client side in the App=
=20
Inspector i see the following message: "Method not found (kick)."=20
As long as the client object has a reference to the function why does still=
=20
appear? I mean, i can't really make it called.
Please help

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com