I think requestTimeout parameter:int=30 causes that error

public function createRemoteObject(source:String=null,
destination:String=null, isSecure:Boolean=true,
uri:String="weborb.aspx", requestTimeout:int=30):RemoteObject {
            if (isSecure){
                _channel = new SecureAMFChannel(null, uri);
            }
            else {
                _channel = new AMFChannel(null, uri);
            }

            _channelSet.addChannel(_channel);

            _remote = new RemoteObject(destination);
            _remote.requestTimeout = requestTimeout;
            _remote.source = source;
            _remote.channelSet = _channelSet;
            return _remote;
        }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to