2 Replies Latest reply on Jun 21, 2007 10:39 AM by atlkhan

    Loading images problem

      I am sending some input values to php from my flash movie. Php after receiving those values writes them to a text file and then executes a program. This program generates some images. Now I want to load those images into flash movie at the front end.
      Issue is how I make sure that my flash movie retrieves images when they have been generated by the application at the server.
        • 1. Loading images problem
          Greg Dove Level 4
          How about this..
          When you send the original input values from flash, could the php script return a reference to the 'job' (the user session itself may be enough so this may not be needed perhaps if there will only ever be one 'job' from one user running at once) .

          Then flash could poll the server at regular intervals 'asking' if the job is finished yet. If it is the return values from that php script would include the urls of the newly created images... and flash could download them.
          • 2. Re: Loading images problem
            atlkhan Level 1
            Sounds great, what kind of functionality flash has to offer for this kind of scheme. I can look into php to see If I can code something like that.