| Simon Lord 2005-04-07, 5:49 pm |
| Ok, I created a small app that displays the currently stored phrase on
the server side an a means to update that phrase to something else. I
can Update the phrase from the client side, and if I request the new
phrase from the client side I can trace it out in my shell.
But it refuses to actually pass the requested phrase back to the user,
FCS just states:
line 36: TypeError: client.call is not a function
.... I don't quite understand the error here. Here are the two new
functions I added to my main.asc.
Client.prototype.setPhrase = function(myphrase) {
phraseSO.setProperty("phrase", myphrase);
};
Client.prototype.getPhrase = function(client) {
whatPhrase = phraseSO.getProperty("phrase");
// ------------------------------------------
// THIS IS WHERE FCS SPITS OUT THE ERROR ABOUT CLIENT CALL
client.call("updatePhrase", null, whatPhrase);
};
Sincerely,
Simon
=-----------------------------------------------------------
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
|