HI,

I made a little browser with Flex/AIR using the built in mx:HTML control.
Right above the html control there is a combox, where you can select the url to 
display in the control.

If there is some Flash content inside this page, it is not possbile for the 
combo box to display the flyout over the flash control in the webpage. 
Actually, showing a mx:Alert it will be on top.

Please see my code:

<code>

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"; 
        minHeight="600" minWidth="1024"
        layout="absolute" >
        <mx:Script>
                <![CDATA[
                        import mx.controls.Alert;
                        [Bindable]
                        private var _urls:Array=new 
Array("http://www.redbull.de","http://www.adobe.de","http://www.flexforum.de","http://www.google.de","http://www.spiegel.de";);
                        public function makeAlert():void {
                                Alert.show("This is an alert with a senseless 
message.","Go over!");
                        }
                ]]>
        </mx:Script>
<mx:VBox width="80%" height="80%" horizontalCenter="0" verticalCenter="0" 
id="box">
        <mx:HBox horizontalAlign="center" id="hbo">
                <mx:ComboBox id="combo" 
change="{browser.location=combo.selectedLabel}" dataProvider="{_urls}"/>
                <mx:Button label="Alert.show()" click="makeAlert()"/>
        </mx:HBox>
        <mx:HTML width="100%" height="100%" id="browser" location="{_urls[0]}"  
/>
</mx:VBox> 
</mx:WindowedApplication>

</code>


Is there a solution to display the flex contents over flash contents inside the 
html control??

Thanks in advance.

F. Enderlein

Reply via email to