[flexcoders] FileReferenceList

2010-05-10 Thread sderamon
Hello,

I have a problem with file referencelist. After select several files for upload 
with filereferencelist, I show the selected files in a Datagrid. My problems 
is, If I decide not to send some file, how I can remove it from the 
filerefenceslist?

Thank You




Re: [flexcoders] FileReferenceList

2010-04-07 Thread Rick Winscot
You¹ll need to pull a swip-swap-frip-frop (code is a cut and paste below).

Cheers,

Rick Winscot
www.quilix.com



http://www.adobe.com/2006/mxml";
creationComplete="ccomp();" layout="absolute" minWidth="955"
minHeight="600">











On 4/7/10 10:33 AM, "sderamon"  wrote:

>
> 
> Hi,
> 
> I want to upload files with FileReferenceList with Flex. I know that is not
> possible to get the path. Because we have this limitation, I want to add files
> to the fileReferenceList several times, but every time that I add files, it
> deletes the previous files. Is possible to add files to the FileReferenceList
> and keep the previous ones.
> 
> Thanks
> 
>  
>
> 
> 



[flexcoders] FileReferenceList

2010-04-07 Thread sderamon
Hi,

I want to upload files with FileReferenceList with Flex. I know that is not 
possible to get the path. Because we have this limitation, I want to add files 
to the fileReferenceList several times, but every time that I add files, it 
deletes the previous files. Is possible to add files to the FileReferenceList 
and keep the previous ones.

Thanks



RE: [flexcoders] FileReferenceList crashing IE7

2008-05-13 Thread Battershall, Jeff
Just a wild guess, but are you creating a new FileReferenceList each
time? Or attempting to use the same one twice?

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nathanpdaniel
Sent: Tuesday, May 13, 2008 2:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FileReferenceList crashing IE7


I am writing a simple app to upload files to a server.  Running FB3 
and IE7.  I have a FileReferenceList object which I'm calling the 
browse() function on.  I select the files the first time around and 
it works great.  However, when I click my "browse" button a second 
time, the file browser comes up normally, I can search for my file.  
When I try to select it, IE7 crashes.  No errors are thrown, no 
exceptions, just an IE7 window saying there was an error in the 
application.
My select handler function looks like this:

private function selectHandler(event:Event):void
{
  fileList.removeEventListener(Event.SELECT, selectHandler);
  var files:FileReferenceList = FileReferenceList(event.target);
  myFiles = files.fileList;
  fileList.addEventListener(Event.SELECT, selectHandler);
}

I've gone thru debugging and no matter where I put in my breakpoint, 
the 2nd time thru, it crashes.

Any ideas?  Or have I somehow discovered a FB3 bug? :D
-Nathan




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links





[flexcoders] FileReferenceList crashing IE7

2008-05-13 Thread nathanpdaniel
I am writing a simple app to upload files to a server.  Running FB3 
and IE7.  I have a FileReferenceList object which I'm calling the 
browse() function on.  I select the files the first time around and 
it works great.  However, when I click my "browse" button a second 
time, the file browser comes up normally, I can search for my file.  
When I try to select it, IE7 crashes.  No errors are thrown, no 
exceptions, just an IE7 window saying there was an error in the 
application.
My select handler function looks like this:

private function selectHandler(event:Event):void
{
  fileList.removeEventListener(Event.SELECT, selectHandler);
  var files:FileReferenceList = FileReferenceList(event.target);
  myFiles = files.fileList;
  fileList.addEventListener(Event.SELECT, selectHandler);
}

I've gone thru debugging and no matter where I put in my breakpoint, 
the 2nd time thru, it crashes.

Any ideas?  Or have I somehow discovered a FB3 bug? :D
-Nathan



Re: [flexcoders] FileReferenceList for Downloads?

2008-01-11 Thread Rick Schmitty
Unless I'm doing something wrong, each time you call
yourFileReference.download(...) it prompts the user for the directory
and filename to be saved as

I've got step 1 and 2 fine, its when you get to step 3 that it becomes
annoying to the user with all the prompts for each file

On Jan 10, 2008 10:44 AM, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> I think, it's not hard to build that using Flex? I would probably do this:-
>
> 1) Load a list of files in server-directory, in flex UI (pretty trivial
> stuff).
> 2) Let user select bunch of items (shown in TileList or List or whatever
> control)
> 3) Use FileReferenceList to initiate download
>
> We should not forget that, Flash Player/AIR are client side runtimes.
> Anything to do with server, you would need to write the logic. I remember,
> from coldfusion management console, there was a java-applet that allowed you
> to do that, but they would have done the similar thing as I mentioned
> above...
>
> -abdul
>
>
>
> On Jan 10, 2008 9:42 PM, Rick Schmitty <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> > So this kinda functionality is only in Apollo/AIR?
> >
> > On Jan 9, 2008 11:11 AM, Dimitrios Gianninas
> >
> >
> >
> > <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > dont think this is possible, you would have to FileReference for every
> file
> > > you want to download.
> > > Annoying yes, but the upload/download with the Flash is not the best.
> > >
> > > Unless I am totally wrong and someone corrects me.
> > >
> > > Dimitrios Gianninas
> > > RIA Developer and Team Lead
> > > Optimal Payments Inc.
> > >
> > >
> > > 
> > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Rick Schmitty
> > > Sent: Wednesday, January 09, 2008 2:03 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] FileReferenceList for Downloads?
> > >
> > >
> > >
> > >
> > >
> > >
> > > Is there a FileReferenceList for downloads? For example, select some
> > > images on the server, then call download, it prompts you once for the
> > > directory and now you can do something similar to multiple uploads and
> > > show progress on each file being downloaded
> > >
> > >
> > >
> > > AVIS IMPORTANT
> > >
> > > WARNING
> > >
> > >
> > > Ce message électronique et ses pièces jointes peuvent contenir des
> > > renseignements confidentiels, exclusifs ou légalement privilégiés
> destinés
> > > au seul usage du destinataire visé. L'expéditeur original ne renonce à
> aucun
> > > privilège ou à aucun autre droit si le présent message a été transmis
> > > involontairement ou s'il est retransmis sans son autorisation. Si vous
> > > n'êtes pas le destinataire visé du présent message ou si vous l'avez
> reçu
> > > par erreur, veuillez cesser immédiatement de le lire et le supprimer,
> ainsi
> > > que toutes ses pièces jointes, de votre système. La lecture, la
> > > distribution, la copie ou tout autre usage du présent message ou de ses
> > > pièces jointes par des personnes autres que le destinataire visé ne sont
> pas
> > > autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
> > > électronique par erreur, veuillez en aviser l'expéditeur.
> > >
> > > This electronic message and its attachments may contain confidential,
> > > proprietary or legally privileged information, which is solely for the
> use
> > > of the intended recipient. No privilege or other rights are waived by
> any
> > > unintended transmission or unauthorized retransmission of this message.
> If
> > > you are not the intended recipient of this message, or if you have
> received
> > > it in error, you should immediately stop reading this message and delete
> it
> > > and all attachments from your system. The reading, distribution, copying
> or
> > > other use of this message or its attachments by unintended recipients is
> > > unauthorized and may be unlawful. If you have received this e-mail in
> error,
> > > please notify the sender.
> >
>
>
>
> --
> -abdul
> ---
> http://abdulqabiz.com/blog/
> --- 


Re: [flexcoders] FileReferenceList for Downloads?

2008-01-10 Thread Abdul Qabiz
I think, it's not hard to build that using Flex? I would probably do this:-

1) Load a list of files in server-directory, in flex UI (pretty trivial
stuff).
2) Let user select bunch of items (shown in TileList or List or whatever
control)
3) Use FileReferenceList to initiate download

We should not forget that, Flash Player/AIR are client side runtimes.
Anything to do with server, you would need to write the logic. I remember,
from coldfusion management console, there was a java-applet that allowed you
to do that, but they would have done the similar thing as I mentioned
above...

-abdul

On Jan 10, 2008 9:42 PM, Rick Schmitty <[EMAIL PROTECTED]> wrote:

>   So this kinda functionality is only in Apollo/AIR?
>
> On Jan 9, 2008 11:11 AM, Dimitrios Gianninas
>
> <[EMAIL PROTECTED]>
> wrote:
> >
> >
> >
> >
> >
> >
> >
> > dont think this is possible, you would have to FileReference for every
> file
> > you want to download.
> > Annoying yes, but the upload/download with the Flash is not the best.
> >
> > Unless I am totally wrong and someone corrects me.
> >
> > Dimitrios Gianninas
> > RIA Developer and Team Lead
> > Optimal Payments Inc.
> >
> >
> > 
> > From: flexcoders@yahoogroups.com  [mailto:
> flexcoders@yahoogroups.com ] On
> > Behalf Of Rick Schmitty
> > Sent: Wednesday, January 09, 2008 2:03 PM
> > To: flexcoders@yahoogroups.com 
> > Subject: [flexcoders] FileReferenceList for Downloads?
> >
> >
> >
> >
> >
> >
> > Is there a FileReferenceList for downloads? For example, select some
> > images on the server, then call download, it prompts you once for the
> > directory and now you can do something similar to multiple uploads and
> > show progress on each file being downloaded
> >
> >
> >
> > AVIS IMPORTANT
> >
> > WARNING
> >
> >
> > Ce message électronique et ses pièces jointes peuvent contenir des
> > renseignements confidentiels, exclusifs ou légalement privilégiés
> destinés
> > au seul usage du destinataire visé. L'expéditeur original ne renonce à
> aucun
> > privilège ou à aucun autre droit si le présent message a été transmis
> > involontairement ou s'il est retransmis sans son autorisation. Si vous
> > n'êtes pas le destinataire visé du présent message ou si vous l'avez
> reçu
> > par erreur, veuillez cesser immédiatement de le lire et le supprimer,
> ainsi
> > que toutes ses pièces jointes, de votre système. La lecture, la
> > distribution, la copie ou tout autre usage du présent message ou de ses
> > pièces jointes par des personnes autres que le destinataire visé ne sont
> pas
> > autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
> > électronique par erreur, veuillez en aviser l'expéditeur.
> >
> > This electronic message and its attachments may contain confidential,
> > proprietary or legally privileged information, which is solely for the
> use
> > of the intended recipient. No privilege or other rights are waived by
> any
> > unintended transmission or unauthorized retransmission of this message.
> If
> > you are not the intended recipient of this message, or if you have
> received
> > it in error, you should immediately stop reading this message and delete
> it
> > and all attachments from your system. The reading, distribution, copying
> or
> > other use of this message or its attachments by unintended recipients is
> > unauthorized and may be unlawful. If you have received this e-mail in
> error,
> > please notify the sender.
>  
>



-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] FileReferenceList for Downloads?

2008-01-10 Thread Rick Schmitty
So this kinda functionality is only in Apollo/AIR?

On Jan 9, 2008 11:11 AM, Dimitrios Gianninas
<[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
> dont think this is possible, you would have to FileReference for every file
> you want to download.
> Annoying yes, but the upload/download with the Flash is not the best.
>
> Unless I am totally wrong and someone corrects me.
>
> Dimitrios Gianninas
> RIA Developer and Team Lead
> Optimal Payments Inc.
>
>
>  
>  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Rick Schmitty
> Sent: Wednesday, January 09, 2008 2:03 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] FileReferenceList for Downloads?
>
>
>
>
>
>
> Is there a FileReferenceList for downloads? For example, select some
> images on the server, then call download, it prompts you once for the
> directory and now you can do something similar to multiple uploads and
> show progress on each file being downloaded
>
>
>
> AVIS IMPORTANT
>
> WARNING
>
>
> Ce message électronique et ses pièces jointes peuvent contenir des
> renseignements confidentiels, exclusifs ou légalement privilégiés destinés
> au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
> privilège ou à aucun autre droit si le présent message a été transmis
> involontairement ou s'il est retransmis sans son autorisation. Si vous
> n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
> par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
> que toutes ses pièces jointes, de votre système. La lecture, la
> distribution, la copie ou tout autre usage du présent message ou de ses
> pièces jointes par des personnes autres que le destinataire visé ne sont pas
> autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
> électronique par erreur, veuillez en aviser l'expéditeur.
>
> This electronic message and its attachments may contain confidential,
> proprietary or legally privileged information, which is solely for the use
> of the intended recipient. No privilege or other rights are waived by any
> unintended transmission or unauthorized retransmission of this message. If
> you are not the intended recipient of this message, or if you have received
> it in error, you should immediately stop reading this message and delete it
> and all attachments from your system. The reading, distribution, copying or
> other use of this message or its attachments by unintended recipients is
> unauthorized and may be unlawful. If you have received this e-mail in error,
> please notify the sender. 


RE: [flexcoders] FileReferenceList for Downloads?

2008-01-09 Thread Dimitrios Gianninas
dont think this is possible, you would have to FileReference for every file you 
want to download.
Annoying yes, but the upload/download with the Flash is not the best. 
 
Unless I am totally wrong and someone corrects me.
 
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick 
Schmitty
Sent: Wednesday, January 09, 2008 2:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FileReferenceList for Downloads?



Is there a FileReferenceList for downloads? For example, select some
images on the server, then call download, it prompts you once for the
directory and now you can do something similar to multiple uploads and
show progress on each file being downloaded


 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



[flexcoders] FileReferenceList for Downloads?

2008-01-09 Thread Rick Schmitty
Is there a FileReferenceList for downloads?  For example, select some
images on the server, then call download, it prompts you once for the
directory and now you can do something similar to multiple uploads and
show progress  on each file being downloaded


Re: [flexcoders] FileReferenceList

2007-04-26 Thread Abdul Qabiz


1. how to trace values in console panel?



Use trace (..) statement. You might need to  configure/create mm.cfg on your
machine. Check this link:

http://livedocs.adobe.com/flex/201/html/logging_125_04.html

2. I have to create flv palyer in Apollo.


Read the documentation and write it. Check out how other folks have done:

http://theflexblog.com/?p=21

It's pretty simple but depends what all functionalities you are looking.


I'm getting problem in storing path of files which are selected by user in

an array so that i can play them one by one.



You need to read more and learn fundamentals and keep trying.

-abdul






On 4/26/07, kanu kukreja <[EMAIL PROTECTED]> wrote:


  Hello everyone,
being new to flex i have so many queries in this.

1. how to trace values in console panel?
2. I have to create flv palyer in Apollo.

   I'm getting problem in storing path of files which are selected by user
in an array so that i can play them one by one.

till selection of files i'm done but storing path is an issue.

I hope you all help me out in this ASAP.


*Best Regards*
*Kanu Kukreja*

--
Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! 
Autos.

 



[flexcoders] FileReferenceList

2007-04-26 Thread kanu kukreja
Hello everyone,
  being new to flex i have so many queries in this.
   
  1. how to trace values in console panel?
  2. I have to create flv palyer in Apollo.
   
 I'm getting problem in storing path of files which are selected by user in 
an array so that i can play them one by one.
   
  till selection of files i'm done but storing path is an issue.
   
  I hope you all help me out in this ASAP.


Best Regards
  Kanu Kukreja

   
-
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

[flexcoders] FileReferenceList to a servlet

2006-10-12 Thread randomt2000
Is there anyone out there who has had luck sending multiple 
attachments, all-at-once, to a Servlet using FileReferenceList ?

I am trying to create an email like functionality where a user can 
browse to multiple files and send them as attachments. The best I have 
come up with is keeping multiple files in an form field array, added 
one at a time by a FileRefence.browse(). On the servlet side, they end 
up as a byte[].

I would rather use the FileReferenceList to allow multiple selections 
at once. But the FileReferenceList is an array of FileReference 
objects, and each one needs to have 'upload' called on it seperately.
Has anyone found away to do this in Flash 9 / Actionscript 3.0 ?

Thanks - Mike




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/