callProtocol

This function will make the Dekho client call a protocol with a message. See the Communication with Peer Applications section for an explanation of how to use a protocol with Dekho. This function does not return a value.

*This can also be done by the module using ActionScript’s ExternalInterface class to call a custom Javascript function. However if you also want the session id you will have to use the getSessionInformation function and add it yourself.

Example call

To call the function from a module:

parentApplication.callProtocol( message );

Where message is a string to call the protocol with and the current client session id will automatically be appended to the message before the actual call occurs, example:

var message : String = “dekhottoprotocol?action=display&propertyids=123,456,789";

Example result

None.


refreshMap