flex-users / flex-iframe

IFrame component for Flex applications.
github.com/flex-users/flex-iframe
120 stars 63 forks source link

Problem with FF in TitleWindow #59

Closed nicoulaj closed 13 years ago

nicoulaj commented 13 years ago

Originally filed by niels.bo...@gmail.com on 2009-10-22T10:04:45

What steps will reproduce the problem?

I'm using an IFrame in a TitleWindow:

<?xml version="1.0"?> <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:components="components.*" title="Hjälp" showCloseButton="true" close="close();" styleName="Popup" paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0" width="700" height="500">

mx:Script <![CDATA[

import mx.core.Application; import mx.managers.PopUpManager;

import offerta.Config; import offerta.monkeywrench.Icons; import offerta.utils.printf;

import flash.utils.setTimeout; import flash.display.DisplayObject;

private static var _popup:HelpPopup = null;

[Bindable] public var callback:Function;

[Bindable] public var key:String;

private function close(cancel:Boolean = true):void { PopUpManager.removePopUp(this); if(callback!=null) callback(); }

public static function create():HelpPopup { HelpPopup._popup = HelpPopup(PopUpManager.createPopUp(DisplayObject(Application.application), HelpPopup, true)); HelpPopup._popup.visible = false; return HelpPopup._popup; }

public function show():void { PopUpManager.centerPopUp(HelpPopup._popup); this.visible = true; setTimeout(function():void { refresh(); },500); }

public function refresh():void { if(!!key) { frameMain.label = key; frameMain.source = printf(Config.DOCUMENTATION_URL,key); } }

]]> /mx:Script

<mx:VBox width="100%" height="100%" paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0">

``` ``` /mx:VBox mx:ControlBar ``` ``` /mx:ControlBar /mx:TitleWindow What is the expected output? What do you see instead? When displaying the window: In Ie. it works perfectly, but in FF the content flashes quickly and the iframe becomes blank. What version of the product are you using? On what operating system? 1.4 Please provide any additional information below.
nicoulaj commented 13 years ago

Updated by mauretto79 on 2009-10-22T15:11:43

same issue for tabnavigator. FF/linux ok FF/osx flashing

nicoulaj commented 13 years ago

Updated by Julien.N...@gmail.com on 2009-10-22T15:41:23

Please provide a FlexBuilder 3 project showing the bug.

nicoulaj commented 13 years ago

Updated by niels.bo...@gmail.com on 2009-11-04T14:52:18

I had missed to add wmode=opaque and it works in FF. Only problem is that flex loadingindicator isn't showing.

nicoulaj commented 13 years ago

Updated by Julien.N...@gmail.com on 2009-11-04T15:16:07

To make the loadIndicator work, you have to specify the loadIndicatorClass property. If you are having hard times doing it, please ask your question on Flex-IFrame Google group ;)

I will update the doc to make this "wmode=opaque" prerequite more visible.

Original ticket set status to Invalid (we converted to closed)