[Flashcoders] local file thumbnail preview :: possible?

2008-11-17 Thread artur
using fp 10, is it possible to generate a thumb preview of the user's selected local image files that they want to upload via FileReference.load() ? or some other method? thanks, artur - ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] local file thumbnail preview :: possible?

2008-11-17 Thread Juan Pablo Califano
Yes, it's possible. The FileReference object now allows you to access the contents of a file uploaded by the user directly. You can manipulate it and pop-up a save dialog, again with FileReference (but the action has to be initiated by the user, such as a button click), and save the modified file

Re: [Flashcoders] local file thumbnail preview :: possible?

2008-11-17 Thread artur
does anyone have an online samples of this feature/property in action? best, *artur :.* - *www.artur.com* - [EMAIL PROTECTED] - *ph:646.797.3320* Juan Pablo Califano wrote: Yes, it's possible. The FileReference object now allows you to access the contents of a file uploaded by the user

Re: [Flashcoders] local file thumbnail preview :: possible?

2008-11-17 Thread Juan Pablo Califano
I realize my reply doesn't really answer you question (you were asking about displaying the image rather than downloading it back), but I think it must be also possible. You can access to the file raw data as a ByteArray, but you still have to convert that into a bitmap (or bitmapdata first?).