Try loading it, and if you get an IOError, the file does not exist. There could be other reasons you may get an IOError, but it's useful for specifically that purpose.
http://www.joeflash.ca/blog/2007/11/ioerror-2044-solution.html _______________________________________________________________ Joseph Balderson, Flash Platform Developer | http://joeflash.ca Writing partner, Community MX | http://www.communitymx.com Abobe Certified Developer & Trainer Anzer wrote: > How to check if a file exist or not in the server? > > > > Currently am doing it with HTTPService, but I need to know if there is > any better mechanism since I want to check files with big sizes and I > think HTTPService will load the actual file into memory (not sure if > that’s correct, let me know if not). > > > > Thanks > > www.FlickrMailer.com <http://www.flickrmailer.com/> > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/