Hi,
The open-file dialog is an OS thing - the thumbs come from the OS
rather than the image. PSD's are an exception - the thumbnail appears
in the "Adobe" style dialogue for these...
I am guessing AS3 + AIR may allow a bit more "flexibility" with
opening and accessing file data in the way you would like, but as you
are using AS2, you are probably restricted to uploading a file, making a
thumbnail then displaying it... Be aware that if you are thinking of
doing something like this, image uploading, even with phpThumb, is often
exploited by hackers - read the doc's / fix list if you are thinking of
using ready made scripts and weigh up pros/cons.
Glen
Karl DeSaulniers wrote:
Thanks Glen,
I will look that up.
I kind of figured I would need some kind of script help in the
process, but was just wondering if Flash had the capabilities.
Like when your in the "open file" dialog window. The thumbnail you
see. Retrieving that somehow in flash.
No SystemCapabilities function for something like that?
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
On May 7, 2009, at 3:26 AM, Glen Pike wrote:
Hi,
Don't think you could do this in Flash without loading the whole
image file, even if it did have a thumbnail - not sure if this is a
feature of the JPEG / PNG spec or not?
If you are loading images from the server, you could run a
script that generates thumbnails "on the fly", (hopefully caching
them for further browser requests). There are loads of free scripts
- phpThumb is one I have seen that may do the caching too.
HTH
Glen
Karl DeSaulniers wrote:
Is there a way to display the thumbnail of a file? Like a .PSD
(Photoshop file).
They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way to
do that in flash?
Any thoughts would help.
Thanks,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders