Re: [flexcoders] Get file type before upload

2009-01-17 Thread Paul Andrews
- Original Message - From: oneworld95 oneworl...@yahoo.com To: flexcoders@yahoogroups.com Sent: Friday, January 16, 2009 9:21 PM Subject: [flexcoders] Get file type before upload Hi. Is there a way to discover the file type before you do an upload on a FileReference object? I know we

Re: [flexcoders] Get file type before upload

2009-01-17 Thread Guy Morton
, January 16, 2009 9:21 PM Subject: [flexcoders] Get file type before upload Hi. Is there a way to discover the file type before you do an upload on a FileReference object? I know we can read the file extension but users can fiddle with that. Is there a way to read something on the file

[flexcoders] Get file type before upload

2009-01-16 Thread oneworld95
Hi. Is there a way to discover the file type before you do an upload on a FileReference object? I know we can read the file extension but users can fiddle with that. Is there a way to read something on the file to ensure it's an image type of JPG, PNG, or GIF? Thanks.