ActionScript 2.0 Components Language Reference |
|
|
|
| WebServiceConnector component >
WebServiceConnector.multiple SimultaneousAllowed |
|||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
componentInstance.multipleSimultaneousAllowed
Property; indicates whether multiple calls can (true) or cannot (false) take place at the same time. If this property is true, the call takes place. If this property is false, and another call is already in progress, the WebServiceConnector.trigger() method causes a status event to be emitted with the code CallAlreadyInProgress.
When multiple calls are simultaneously in progress, there is no guarantee that they will be completed in the order in which they were triggered. Also, the browser and/or operating system may place limits on the number of simultaneous network operations. The most likely limit you may encounter is the browser enforcing a maximum number of URLs that can be downloaded simultaneously. This is something that is often configurable in a browser. However, even in this case, the browser should queue streams, and this should not interfere with the expected behavior of the Flash application.
The following example enables multiple simultaneous calls to myXmlUrl to take place:
myXmlUrl.multipleSimultaneousAllowed = true;
|
|
|
|