AIR app: error 2032 on loading asset (and how to install SDK 2.6?)

I’m new to AIR (although experienced in AS3 development) and am porting a project to AIR to run on desktop –

I understand that to reference any loaded assets I need to use the File class and package my assets with the Air app. I’m working for the moment with the CS5 IDE and using the Air publish settings to include the folders where my assets are (i.e. I add the folders, not the individual files, as there are many).

When I try to load the first file, an xml file, via URLLoader I get a “2032” error – an IOError, stream error.

I’m a bit stumped. I saw by googling that others had this problem but solved it with the SDK 2.6 – I don’t know if that’s what I need, but I’ve downloaded it. I don’t know how to install it to use in the IDE – I could work with FB4, so if someone knows how to install it for that, that’s good too. Is this even the solution.

The code I’m using to get the correct path for my loaded assets is

[FONT=“Courier New”]function getPath($path:String):String {
var f:File = File.applicationStorageDirectory;
debug(f.resolvePath($path).url)
return (f.resolvePath($path).url);
}[/FONT]

and I use it thus

[FONT=“Courier New”]caseLoader.addEventListener(Event.COMPLETE, caseLoaded);
caseLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, error,false,0,true);
caseLoader.addEventListener(IOErrorEvent.IO_ERROR, error,false,0,true);
caseLoader.load(new URLRequest(getPath(“Assets/config.xml”)));[/FONT]

Last question – do URLLoaders and Loaders behave similarly under AIR?

Thanks!