You can use Macromedia Flash Remoting with the Flash Media Server to communicate with
application servers such as Macromedia ColdFusion, .NET, and J2EE servers. For more
information, see the Flash Remoting information on the Macromedia website at
www.macromedia.com/go/flashremoting.
SharedObject class
objects and with objects on other Flash Media Servers. For more information about server-
side shared objects, see
Stream class.
The server-side Stream class lets you handle each stream in a Flash Media
Server application. Flash Media Server automatically creates a Stream object when the
or
NetStream.play()
can also create a stream in server-side ActionScript by calling the
user can access multiple streams at the same time, and there can be many Stream objects active
at the same time.
WebService class
SOAP web service. The following server-side classes are used in tandem with the WebService
class: the Log class, the SOAPFault class, and the SOAPCall class.
XML class
The server-side XML class lets you load, parse, send, build, and manipulate
XML document trees.
XMLSocket class
Flash Player communicate with a server identified by an IP address or domain name.
XMLStreams class
class—it has all the same methods, properties, and events, but it transmits and receives data in
fragments.
About client-server communication
The following "object pairs" represent the potential connections you can establish between
client-side and server-side objects. For example, when a client-side NetConnection object
connects to the server, a server-side Client object is created; this Client object can then call
methods of its NetConnection object counterpart.
The following table shows the client-side and server-side objects that are associated with
each other.
Client-side object
(NetConnection object)
my_nc
(NetStream object)
my_ns
(remote shared object)
my_so
40
Using Media Classes
Server-side shared objects let you communicate with client-side shared
"Understanding shared objects" on page
NetStream.publish()
The server-side WebService class lets you to create and access a WSDL/
The server-side XMLSocket class implements client sockets that let the
The server-side XMLStreams class is a variation of the XMLSocket
Corresponding server-side object
my_client
my_server_stream
my_server_so
41.
method is called in a client-side script. You
Stream.get()
(Client object or
application.clients
(Stream object)
(server-side shared object)
method. A
object)
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-DEVELOPING MEDIA and is the answer not in the manual?
Questions and answers