openfl.net
Here are some selections from the OpenFL Developer's Guide to help you get started with the openfl.net package:
.. | |
---|---|
dns | |
DatagramSocket | The DatagramSocket class enables code to send and receive Universal Datagram Protocol (UDP) packets. |
FileFilter | 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
|
FileReference | 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. |
FileReferenceList | |
IDynamicPropertyOutput | This interface controls the serialization of dynamic properties of dynamic
objects. You use this interface with the |
IDynamicPropertyWriter | This interface is used with the |
IPVersion | The IPVersion class defines constants representing the different families of IP addresses. |
NetConnection | 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
href="http://labs.adobe.com/technologies/stratus/" scope="external">Adobe
Stratus service. Call |
NetStream | The NetStream class opens a one-way streaming channel over a NetConnection. Use the NetStream class to do the following: |
ObjectEncoding | The ObjectEncoding class is used in defining serialization settings in classes that serialize objects (such as FileStream, NetStream, NetConnection, SharedObject, and ByteArray). |
Responder | The Responder class provides an object that is used in
|
SecureSocket | The SecureSocket class enables code to make socket connections using the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols. |
ServerSocket | The ServerSocket class allows code to act as a server for Transport Control Protocol (TCP) Connections. |
SharedObject | 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. |
SharedObjectFlushStatus | The SharedObjectFlushStatus class provides values for the code returned
from a call to the |
Socket | 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. |
URLLoader | 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. |
URLLoaderDataFormat | The URLLoaderDataFormat class provides values that specify how downloaded data is received. |
URLRequest | The URLRequest class captures all of the information in a single HTTP
request. URLRequest objects are passed to the |
URLRequestDefaults | 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
method, |
URLRequestHeader | A URLRequestHeader object encapsulates a single HTTP request header and
consists of a name/value pair. URLRequestHeader objects are used in the
|
URLRequestMethod | The URLRequestMethod class provides values that specify whether the
URLRequest object should use the |
URLStream | 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
binary data.
The read operations in URLStream are nonblocking. This means that you must
use the |
URLVariables | 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 |
XMLSocket | The XMLSocket class implements client sockets that let the OpenFL 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: |