ot browsed :P
thnx a lot to all for the help
- Mensaje original
De: Jon Bradley <[EMAIL PROTECTED]>
Para: flexcoders@yahoogroups.com
Enviado: lunes, 9 de junio, 2008 13:19:31
Asunto: Re: [flexcoders] know if .browse() was executed or not
On Jun 9, 2008, at 4:40 AM, David Parien
, but this way i can
control more each of the file uploads.
Thnx!
- Mensaje original
De: David Pariente <[EMAIL PROTECTED]>
Para: flexcoders@yahoogroups.com
Enviado: lunes, 9 de junio, 2008 10:56:07
Asunto: Re: [flexcoders] know if .browse() was executed or not
I tryed that
On Jun 9, 2008, at 4:40 AM, David Pariente wrote:
> The only problem is that if user selects a file several times in
> the same file_select button, it would keep getting files inside
> that array, even i just need the last one that he chooses.
Not if you make sure the file doesn't already ex
rnes, 6 de junio, 2008 22:28:53
Asunto: Re: [flexcoders] know if .browse() was executed or not
On Fri, Jun 6, 2008 at 2:26 AM, David Pariente wrote:
> i tried this, but crashes when file is not selected:
>
> if (myFileReference. name.length> 0) { myFileReference. upload() }
It raises a
Bradley <[EMAIL PROTECTED]>
Para: flexcoders@yahoogroups.com
Enviado: viernes, 6 de junio, 2008 14:18:19
Asunto: Re: [flexcoders] know if .browse() was executed or not
On Jun 6, 2008, at 4:26 AM, David Pariente wrote:
The point is that, IN ANOTHER POINT OF THE CODE, i wanna send the file
On Fri, Jun 6, 2008 at 2:26 AM, David Pariente <[EMAIL PROTECTED]> wrote:
> i tried this, but crashes when file is not selected:
>
> if (myFileReference.name.length>0) { myFileReference.upload() }
It raises a runtime error because if you haven't selected a file
fileReference.name is null. you shou
On Jun 6, 2008, at 4:26 AM, David Pariente wrote:
The point is that, IN ANOTHER POINT OF THE CODE, i wanna send the
files.
the on_select is not useful for me. i will not send anything
on_select, just put a pair of lines of code there.
My opinion is that you are thinking about this too muc
ion :/
thnx
- Mensaje original
De: Jon Bradley <[EMAIL PROTECTED]>
Para: flexcoders@yahoogroups.com
Enviado: jueves, 5 de junio, 2008 19:57:18
Asunto: Re: [flexcoders] know if .browse() was executed or not
On Jun 5, 2008, at 1:40 PM, David Pariente wrote:
Im no
On Jun 5, 2008, at 1:40 PM, David Pariente wrote:
Im not using a fileReferenceList, but a FileReference. And it seems
i can't access any property of FileReference unless i have choosen
a file. So there is no way to know if a file was selected.
Ok. Then all you need to do is use FileRefer
eferenceList is allways of good
use ;)
- Mensaje original
De: Jon Bradley <[EMAIL PROTECTED]>
Para: flexcoders@yahoogroups.com
Enviado: jueves, 5 de junio, 2008 19:26:41
Asunto: Re: [flexcoders] know if .browse() was executed or not
On Jun 5, 2008, at 12:23 PM, David Pariente
On Jun 5, 2008, at 12:23 PM, David Pariente wrote:
I was trying checking for some property from fileReference object,
like for example .name, so if no name on the object, would mean
they didn't select anything there. But accessing the name property
when no file choosen throws an IllegalOpe
Hello everyone,
in my project i need to know wether a fileReference Object did or didn't made a
.browse() function.
The point is that i have a form with several fields for choose files. Those
files i must send them later. So then i need a way to know if user did actually
choose a file to uploa
12 matches
Mail list logo