Всем привет!
Делаю AIR-проект. Нужно загрузить локальный swf файл. Хочу использовать для этого mx.controls.SWFLoader. Код выглядит приблизительно так:

Код AS3:
protected function onBrowse(event:MouseEvent):void
{
var clipFile:File = new File();
var filter:FileFilter = new FileFilter("Clip files", "*.swf;*.png");
try {
clipFile.browseForOpen("Open", [filter]);
clipFile.addEventListener(Event.SELECT, onFileSelected);
}
catch (e:Error) {
}
}
protected function onFileSelected(e:Event):void
{
var clipFile:File = File(e.target);
preview.source = clipFile.nativePath;
}
<s:SWFLoader id="preview" x="10" y="110" width="203" height="147"
horizontalAlign="center" verticalAlign="middle"/>
В принципе файл загружается, но в консоль попадает вот такое сообщение:
*** Security Sandbox Violation ***
SecurityDomain 'file:///hero.swf' tried to access incompatible context 'app:/builder.swf'
p.s. проект у меня называется builder.swf, а файл, который я загружаю - hero.swf
Читал, что в AIR Security Sandbox как-то отличается от Flash Player'а (правда так и не понял чем). Что можно применить в моем случае?