ActionScript 2.0 Components Language Reference |
|
|
|
| XMLConnector component > XMLConnector.direction | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
componentInstance.direction
Property; indicates whether data is being sent, received, or both. The values are the following:
send XML data for the params property is sent by HTTP POST method to the URL for the XML document. Any data that is returned is ignored. The results property is not set to anything, and there is no result event. |
NOTE |
The |
receive No params data is sent to the URL. The URL for the XML document is accessed through HTTP GET, and valid XML data is expected from the URL.send/receive The params data is sent to the URL, and valid XML data is expected from the URL.The following example sets the direction to receive for the document mysettings.xml:
myXMLConnector.direction = "receive"; myXMLConnector.URL = "mysettings.xml"; myXMLConnector.trigger();
|
|
|
|