[Transfer] Shared Object - Flashcom Developes Read Note 4

xiaoxiao2021-03-06  214

Shared object - Flashcom development reading notes 4

Shared objects can use two shared objects: local and remote shared objects in the Flashcom development process. Local shared objects can be seen as Flash cookies, you can store user data in the user's local machine, which is provided for Flash Player, without the support of Flashcom Server. Remote shared objects are managed by Flashcom Server, providing synchronization of information and data, and storage of data. Flash client connection, submit it to the remote shared object and keeps synchronization with the server side. Information data can also be issued to all clients connected to the remote shared object and continue through the application's session or temporary files. For more information, please refer to the shared object class. Connecting an external data source According to the AC model provided by the FlashCom, Flashcom Server can interact with external data sources, such as web servers, relational databases, and even other Flashcom Server applications. For example, you can write a server-side script file to connect a web server or ColdFusion application to receive a list of usernames and phone numbers, and then write the query results to a shared object. Detailed method will be described later. Creating and developing applications You can use the FlashMX creation tool to create an application's client component, and the generated SWF file provides an application's user interface, which also contains an AS script that is connected to the Flashcom Server. The server is required to be related application directory, which contains the ASC scripts required by the client, providing logic control and data exchange between multiple clients. In developing applications, client programs need to be published to the appropriate location to ensure the normal operation of the application, which is usually combined with Web Server, such as HTML, PHP, ASP, etc., because Flashcom Server uses RTMP protocol, so Web Server It is not necessary, you can do it directly in the SWF file, but do not recommend this. Server-side programs (including ASC, FLV and other files) need to be placed under the correct application directory. If you are a Flashcom Server administrator, you can use the management console to configure Flashcom Server, set system security, monitor usage, stop and restarting Server, you can also add users. This requires the application manager and management tools mentioned in the first chapter.

转载请注明原文地址:https://www.9cbs.com/read-128917.html

New Post(0)