Oops - I used Loader instead of URLLoader - sorry for the noise ;)

On Fri, May 7, 2010 at 1:59 PM, Eric E. Dolecki <edole...@gmail.com> wrote:

> Hey all,
>
> I am trying to validate whether or not a file exists on a server. Normally
> this is easy peasy.
>
> urlLoader = new Loader();
> urlLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, urlLoaded );
> urlLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
> onUrlLoadError );
> urlLoader.load( new URLRequest( xml.projects.project[nwhichprojec...@url
> ));
>
> However, I have URLs that appear like so: http://www.somelocation.com/foo/
>
> The index exists but of course* I can't test for that* since one isn't
> actually supplied in the URL. Is there any way to test for this, or do I
> need to push on the XML supplier to specify the actual index file in that
> attribute?
>
> Eric
>
>


-- 
http://ericd.net
Interactive design and development
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to