Installation guide
AMF3 support
Feature in Flash Media Interactive Server; requires Flash Player 8 or later.
Flash Media Server supports the AMF3 format for sending data between the server and connected
clients.FlashMediaServercannowserializeanddeserializeallbasicdatatypes,includingNumber,
Boolean,String,Null,Undened,Array,Date,XML,Object,andByteArray.
Note: ByteArray data cannot be created or inspected using server-side scripting, but can be safely exchanged
between clients.
isimplementationisfullybackward-compatible.Utilizing“blendedmode”AMFsupport,both
AMF3andAMF0clientscanconnecttoanapplicationsimultaneously.IfanAMF3messageissent,
however,theserverdisconnectsallclientsthatsupportonlyAMF0data.Forexample:
• IfclientsareeitherallAMF0orallAMF3,theycancommunicatewitheachotherregardlessof
the application’s encoding.
• Iftwoclientswithdierentencodingsconnecttoa“myAMF”application,aslongasthedata
beingcommunicateddoesnotcontainanynewActionScript3datatypes(forexample,ByteArray
orXML)orexternalizedAMF3objects,bothclientscancommunicatedatatoeachother.
• IftheAMF3clientdecidestosendaByteArray,forexample,theAMF0clientisdisconnected
becauseAMF0clientsdonotunderstandByteArrays.(WhenanAMF0clientisdisconnected
becauseofincompatibleencoding,theeventisloggedintheserver’slogles.)
Whenever the server needs to serialize data for clients, it generally attempts to serialize data
rstinAMF0.Ifthatisnotpossible,theserverautomaticallyserializesthedatainAMF3.is
support is available in all the basic communication methods NetConnection.call, Client.
call, application.broadcastMsg, SharedObjects, and NetStream.send as well as
indataembeddedinvideoles.It’salsoimportanttonotethataserver-to-server
NetConnection(throughserver-sideActionScript)defaultstoAMF3.
Inaddition,defaultobjectencodingcanbesetintheApplication.xml le. is can also be
overridden for each individual NetConnection via the NetConnection.object-Encoding
property. For example, Application.xml may say AMF3, but you can set a NetConnection
tobeAMF0bysettingthisproperty,orviceversa.
AMF3 support gives Flash Media Server 3.5 a highly exible tool for data sharing and opens up
evenricherpossibilitiesforinteractiveapplications—inmanycases,eliminatingtheneedto
integrate with other back-end server technologies.
Administration API
Feature in Flash Media Streaming Server and Flash Media Interactive Server; requires Flash Player
6 or later.
YoucanusetheAdministrationAPItocreatecustomtoolstomonitor,congure,andmanage
FlashMediaServer3.5.eAdministrationAPImethodscanbecalledoverHTTPviaaweb
client,orviaaFlashPlayerorAdobeAIRclientoverRTMPfromanyversionofclient-side
ActionScript. You can use Administration methods to perform tasks such as adding or removing
administration accounts, server conguration, garbage collection, virtual host administration,
application and stream monitoring, and more.
FordetailsaboutusingtheAdministrationAPI,see“UsingtheAdministrationAPI”inthe
Adobe Flash Media Server Conguration and Administration Guide.Itisalsodescribedindetail
in the Adobe Flash Media Server Administration API Reference.
30