MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Spécifications Page 334

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 369
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 333
34
Note: For security reasons, your server-side applications directory, which contains ASC files, audio/video FLV files,
and ActionScript FLA source files, should not be accessible to a user browsing your Web site.
Example
The following example loads the myLoadedFile.as file:
load("myLoadedFile.as");
NetConnection (object)
The server-side NetConnection object lets you create a two-way connection between a Flash
Communication Server application instance and an application server, another Flash
Communication Server, or another Flash Communication Server application instance on the
same server. You can use NetConnection objects to create powerful applications; for example, you
can get weather information from an application server or share an application load with other
Flash Communication Servers or application instances.
You can use Macromedia Flash Remoting with the Flash Communication Server to communicate
with application servers such as Macromedia ColdFusion MX, Macromedia JRun, Microsoft
.NET, and J2EE servers using Action Message Format (AMF) over HTTP. AMF lets you transfer
light-weight binary data between a Flash Communication Server or a Flash client and a web
application server. For more information, see http://www.macromedia.com/go/flashremoting.
You can also connect to an application server for server-to-server interactions using standard
protocols (such as HTTP) or connect to another Flash Communication Server for sharing audio,
video, and data using the Macromedia Real-Time Messaging Protocol (RTMP).
To create a NetConnection object, use the constructor function described below.
Vue de la page 333
1 2 ... 329 330 331 332 333 334 335 336 337 338 339 ... 368 369

Commentaires sur ces manuels

Pas de commentaire