UNPKG

1.5 kBMarkdownView Raw
1Forge Flash Support
2===================
3
4SocketPool.swf
5--------------
6
7Some special networking features can optionally use a Flash component.
8Building the output SWF file requires the [Flex SDK][]. A pre-built component
9is included: `swf/SocketPool.swf`.
10
11Building the output SWF requires the `mxmlc` tool from the [Flex SDK][]. If
12that tools is already installed then look in the `package.json` file for the
13commands to rebuild it. If you need the SDK installed, there is a npm module that installs it:
14
15 npm install
16
17To build a regular component:
18
19 npm run build
20
21Additional debug support can be built in with the following:
22
23 npm run build-debug
24
25Policy Server
26-------------
27
28Flash support requires the use of a Policy Server.
29
30### Apache Flash Socket Policy Module
31
32[mod_fsp](./mod_fsp) provides an [Apache][] module that can serve up a Flash
33Socket Policy. See `mod_fsp/README` for more details. This module makes it easy
34to modify an [Apache][] server to allow cross domain requests to be made to it.
35
36### Simple Python Policy Server
37
38`policyserver.py` provides a very simple test policy server.
39
40### Simple Node.js Policy Server
41
42`policyserver.js` provides a very simple test policy server. If a server is
43needed for production environments, please use another option such as perhaps
44[nodejs_socket_policy_server][].
45
46[Apache]: http://httpd.apache.org/
47[Flex SDK]: https://flex.apache.org/
48[nodejs_socket_policy_server]: https://github.com/bichinger/nodejs_socket_policy_server