Server-Side ActionScript (SSAS) supported by FlashCom 1.5.2 does not offer all the same features as client-side ActionScript. SSAS does not support the LoadVars or XML classes used by client-side ActionScript to load external data. With FlashCom applications, you cannot directly access server-side scripts, CGI applications, XML files, or the local filesystem. The good news is you can use Flash Remoting to communicate with an application server to accomplish these necessary tasks . Flash Remoting has two parts : the client-side API used to create a connection to an application server and a server gateway that acts as the bridge between the client logic and the application server. The client-side APIs are built into the FlashCom Server as well as the Flash Player. This chapter discusses the entire Flash Remoting process but will focus on the client-side API used to connect to the application server. Throughout this chapter, the term client refers to either a SWF running in the Flash Player or a FlashCom application. That is, when using Flash Remoting with FlashCom, the FlashCom Server acts as the client. The techniques provided are valid for either situation. |