Thanks Jeff!

I was hoping to use AIR's "native" drag and drop (desktop to AIR), basically
detecting a drag operation from the OS, accessing the client clipboard in
AIR and performing the transfer. I have to support "native" drag and drop
and a public interface (accessible from Internet cafe's). I would love to
avoid having to release two applications one in AIR providing "native" drag
and drop, and one if Flash for public computers. That is why I am trying to
fit Flash into the equation.

If I could release one version of the product that allowed the EU to install
an optional AIR "drag manager". Say when the user clicks our upload button
we detect if they have the "drag manager" installed and ask them if they
want to install it. Once installed the flash app launches it on
initialization and it hovers over the flash app fully transparent listening
for "native" drop events.

I am pretty new to ActionScript and Flex and am hoping to understand if I am
waisting time if I try and implement or if it should be doable.

Does feel like I am stretching things.

Cheers,

Greg



On Wed, May 21, 2008 at 3:38 PM, Battershall, Jeff <
[EMAIL PROTECTED]> wrote:

>    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