7 Replies Latest reply on May 23, 2009 4:10 PM by kglad

    How can I use a SWF as a web request proxy between Javascript and my server?

    kwarnke

      I know I can call my server directly from javascript.  However, I want to do this through a non-GUI SWF file.

       

      I'm fairly new to Flash but have gotten all the CS3 tools from work.

       

      Does anyone know of any examples on:

       

      1. how to make a web request from within flash provided the URL, post content, and timeout

      2. how to call a Flash API from javascript asynchronously

      3. how to detect whether the browser being used can support my SWF (I don't want it to prompt to install Flash if they don't have it yet)

       

      I'm actually hoping someone has already done this and has a sample already built.

       

      Thanks for any help.

       

      Kevin