AIR gives you a lot of tools to accomplish this, but I don't see how the
Flash app would fit into the equation. With the FIleSystemTree control
you can browse and select files and drag them to another component which
initiates the file upload process - all within AIR.  If you want to show
upload progress, that can be done within AIR as well - no need for an
external Flash widget.
 
Jeff
 
-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Hess
Sent: Wednesday, May 21, 2008 3:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flash-AIR-PHP drag and drop Hybrid



        Hi Folks,
         
        The application I am working on has a requirement to support
drag and drop, from client to server. Currently, we can only support
this by using a signed Java Applet that provides the "drop box" that
allows the EU to drop files from the local file system. As a result the
files are transfered to the server (PHP) and the Java Applet informs the
flash app that a transfer is in progress (providing taskID), and the
flash app polls the server for status on the task. Once completed the UI
updates to reflect and notify the user of the change.
         
        Is it possible to do the same with AIR? We dislike the need to
present the EU a "drop box" and would love it if we could make the drag
and drop seamless with AIR-Flash-PHP. I am thinking this could be
performed by:
         
        - AIR app "Drag Manager" installed on client PC (launched when
the flash app is initialized)
        - Flash or AIR app detects the client is trying to drag a local
asset onto the flash app (not sure if this is possible)
        - AIR app responds by sending file to the server PHP and passing
a taskID to the flash app for it to track
        - Flash app polls the server until the taskID to complete,
displaying some transfer progress
         
        Any comments, suggestions much appreciated!
         
        Cheers,

        Greg
         

Reply via email to