The FileFilter class is used to indicate what files on the user's system
are shown in the file-browsing dialog box that is displayed when the
The FileReference class provides a means to upload and download files between a user's computer and a server. An operating-system dialog box prompts the user to select a file to upload or a location for download. Each FileReference object refers to a single file on the user's disk and has properties that contain information about the file's size, type, name, creation date, modification date, and creator type (Macintosh only). Note: In Adobe AIR, the File class, which extends the FileReference class, provides more capabilities and has less security restrictions than the FileReference class.
The FileReferenceList class provides a means to let users select one or more files for uploading. A FileReferenceList object represents a group of one or more local files on the user's disk as an array of FileReference objects. For detailed information and important considerations about FileReference objects and the FileReference class, which you use with FileReferenceList, see the FileReference class. To work with the FileReferenceList class:
The NetConnection class creates a two-way connection between a client and
a server. The client can be a Flash Player or AIR application. The server
can be a web server, Flash Media Server, an application server running
Flash Remoting, or the <a
Stratus service. Call
The NetStream class opens a one-way streaming channel over a NetConnection. Use the NetStream class to do the following:
The ObjectEncoding class is used in defining serialization settings in classes that serialize objects (such as FileStream, NetStream, NetConnection, SharedObject, and ByteArray).
The SharedObject class is used to read and store limited amounts of data on a user's computer or on a server. Shared objects offer real-time data sharing between multiple client SWF files and objects that are persistent on the local computer or remote server. Local shared objects are similar to browser cookies and remote shared objects are similar to real-time data transfer devices. To use remote shared objects, you need Adobe Flash Media Server.
The SharedObjectFlushStatus class provides values for the code returned
from a call to the
The Socket class enables code to establish Transport Control Protocol (TCP) socket connections for sending and receiving binary data. The Socket class is useful for working with servers that use binary protocols.
The URLLoader class downloads data from a URL as text, binary data, or URL-encoded variables. It is useful for downloading text files, XML, or other information to be used in a dynamic, data-driven application.
The URLLoaderDataFormat class provides values that specify how downloaded data is received.
The URLRequest class captures all of the information in a single HTTP
request. URLRequest objects are passed to the
The URLRequestDefaults class includes static properties that you can set to define
default values for the properties of the URLRequest class. It also includes a static
A URLRequestHeader object encapsulates a single HTTP request header and
consists of a name/value pair. URLRequestHeader objects are used in the
The URLRequestMethod class provides values that specify whether the
URLRequest object should use the
The URLStream class provides low-level access to downloading URLs. Data is
made available to application code immediately as it is downloaded,
instead of waiting until the entire file is complete as with URLLoader.
The URLStream class also lets you close a stream before it finishes
downloading. The contents of the downloaded file are made available as raw
The read operations in URLStream are nonblocking. This means that you must
The URLVariables class allows you to transfer variables between an
application and a server. Use URLVariables objects with methods of the
URLLoader class, with the
The XMLSocket class implements client sockets that let the Flash Player or AIR application communicate with a server computer identified by an IP address or domain name. The XMLSocket class is useful for client-server applications that require low latency, such as real-time chat systems. A traditional HTTP-based chat solution frequently polls the server and downloads new messages using an HTTP request. In contrast, an XMLSocket chat solution maintains an open connection to the server, which lets the server immediately send incoming messages without a request from the client. To use the XMLSocket class, the server computer must run a daemon that understands the protocol used by the XMLSocket class. The protocol is described in the following list: XML messages are sent over a full-duplex TCP/IP stream socket connection. Each XML message is a complete XML document, terminated by a zero (0) byte. * An unlimited number of XML messages can be sent and received over a single XMLSocket connection.