Re: [Flashcoders] FileReference, file location

2006-01-17 Thread Kamyar Nazeri
Yeah, that's what I've done myself

I don't understand what security is this when user has chosen the file himself, 
getting file location is already possible in HTML under user command


"bryan.rice" <[EMAIL PROTECTED]> wrote: 
On Jan 17, 2006, at 9:50 AM, Kamyar Nazeri wrote:

> Ain't it possible to get location of the browsed file using browse  
> method of FileReference class?


Nope.  That would violate the security sandbox.  You are going to  
have to upload first and then display it.

blue skies,
bryan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FileReference, file location

2006-01-17 Thread bryan.rice


On Jan 17, 2006, at 9:50 AM, Kamyar Nazeri wrote:

Ain't it possible to get location of the browsed file using browse  
method of FileReference class?



Nope.  That would violate the security sandbox.  You are going to  
have to upload first and then display it.


blue skies,
bryan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] FileReference, file location

2006-01-17 Thread Kamyar Nazeri
Hi list,  Ain't it possible to get location of the browsed file using browse 
method of FileReference class?
  I'm using FileReference class to upload an image on the server, but the 
problem is that I need to show the user a preview of the image before upload.
  I wish it was possible to have a .location property for a FileReference 
instance or at the very least MovieClip.loadMovie or MovieClipLoader.loadClip 
methods could accept FileReference object as parameters so that it could be 
possible to load browsed file within flash player!
Any help?
Kamyar Nazeri


-
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders