You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5 KiB

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