Hello,
That is not directly possible, since this functionnality hasn't been implemented... In fact, it is very easy to do it : you just need to extend the DefaultLoadPolicy (or implements ILoadPolicy) and do what you want. You can put any property you want into the ILoadableFile.properties property (that's a IMap object) :
myFile.properties.put("isMandatory", true);
And then (if you extends DefaultLoadPolicy) :
public function processFile(file:ILoadManager, closeEvent:Event):ILoadManager
{
if (!file.properites.getValue("isMandatory")) return super.processFile(file, closeEvent);
//the file is mandatory
if (closeEvent == Event.COMPLETE) return null; //ok !
else return file; //reload it !!!
}
Finally you just need to put your new class as LoadPolicy for your MassLoader :)
Regards,
Cedric