1 | Forge Flash Support
|
2 | ===================
|
3 |
|
4 | SocketPool.swf
|
5 | --------------
|
6 |
|
7 | Some special networking features can optionally use a Flash component.
|
8 | Building the output SWF file requires the [Flex SDK][]. A pre-built component
|
9 | is included: `swf/SocketPool.swf`.
|
10 |
|
11 | Building the output SWF requires the `mxmlc` tool from the [Flex SDK][]. If
|
12 | that tools is already installed then look in the `package.json` file for the
|
13 | commands to rebuild it. If you need the SDK installed, there is a npm module that installs it:
|
14 |
|
15 | npm install
|
16 |
|
17 | To build a regular component:
|
18 |
|
19 | npm run build
|
20 |
|
21 | Additional debug support can be built in with the following:
|
22 |
|
23 | npm run build-debug
|
24 |
|
25 | Policy Server
|
26 | -------------
|
27 |
|
28 | Flash 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
|
33 | Socket Policy. See `mod_fsp/README` for more details. This module makes it easy
|
34 | to 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
|
43 | needed 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
|