1 Reply Latest reply on Apr 16, 2008 8:35 AM by atta707

    How to send files to client

    Vackar
      Hi,

      Does anyone know how to send a file to the client from Flex. My scenario is this:
      1) Pass some parameters to java layer
      2) Java layer processes the results and saves them in PDF format (in memory)
      3) Byte data from PDF is passed to Flex layer
      4) Send bytes to client

      I was able to do (4) in a JSF view by writing to the response stream, is there a similar method in Flex?

      Thanks in advance,
      Vackar