thnx, i did like that... well, i just made the array with 2 elements, 0, and 1, for the 2 files i use. and the i just overwrite them with the name. Same as u adviced but without the push.
Its just a pity than cant access the name property of a fileReference object, returnin "" if not browsed :P thnx a lot to all for the help ----- Mensaje original ---- De: Jon Bradley <[EMAIL PROTECTED]> Para: [email protected] 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 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 exist in the array. This is where you'd use the .name property to check to see if it's already in the array - if so, skip it or throw up an Alert dialog or something. Otherwise, push it into the array. - jb ______________________________________________ Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.

