Привет всем.
Столкнулся с такой проблемой.
AIR 1.5 в отдельном окне гружу HTML с помощью HTMLLoader .
Задача: положить по верх HTMLLoader любой другой displayObject.
Задача решена, НО если в html лежит swf, то эта SWF всегда оказываеться выше всех объектов.
Вопрос, как перекрыть вложенные SWF???

Код AS3:
var options:NativeWindowInitOptions = new NativeWindowInitOptions();
options.transparent=false;
options.systemChrome=NativeWindowSystemChrome.STANDARD;
options.type=NativeWindowType.NORMAL;//create the window
var newWindow:NativeWindow=new NativeWindow(options);
newWindow.title="Test Window";
newWindow.width=800;
newWindow.height=800;
newWindow.activate();
newWindow.alwaysInFront=true;
var htmlView:HTMLLoader = new HTMLLoader();
htmlView.width=800;
htmlView.height=800;
newWindow.stage.align="TL";
newWindow.stage.scaleMode="noScale";
/*добавляем HTMLLoader*/
newWindow.stage.addChild(htmlView);
htmlView.load(new URLRequest('http://skriv.weltkind.com/?p=750'));
/*Создаем красный шейп который будет закрывать хтмлЛоадер*/
var ss:Shape = new Shape();
ss.graphics.beginFill(0xFF0000,1);
ss.graphics.drawRect(0,0, 600, 800);
ss.graphics.endFill();
/*добавляем шейп поверх хтмлЛоадера*/
newWindow.stage.addChild(ss);
//SWF все равно сверху