Note that there are some explanatory texts on larger screens.

plurals
  1. POFlex-iframe: problems in FF
    text
    copied!<p>I'm using <a href="http://code.google.com/p/flex-iframe/" rel="nofollow noreferrer">http://code.google.com/p/flex-iframe/</a> for showing wikicontent in a flex app.</p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;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"&gt; &lt;mx:Script&gt; &lt;![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); } } ]]&gt; &lt;/mx:Script&gt; &lt;mx:VBox width="100%" height="100%" paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0"&gt; &lt;mx:ApplicationControlBar width="100%"&gt; &lt;mx:HBox width="100%" id="pnlToolbar" horizontalGap="0"&gt; &lt;mx:LinkButton icon="{Icons.refresh}" click="refresh();"/&gt; &lt;mx:LinkButton icon="{Icons.previous}" click="frameMain.historyBack()"/&gt; &lt;mx:LinkButton icon="{Icons.next}" click="frameMain.historyForward()"/&gt; &lt;/mx:HBox&gt; &lt;/mx:ApplicationControlBar&gt; &lt;components:IFrame id="frameMain" loadIndicatorClass="components.IFrameLoadingIndicator" width="100%" height="100%"/&gt; &lt;/mx:VBox&gt; &lt;mx:ControlBar&gt; &lt;mx:Spacer width="100%"/&gt; &lt;mx:Button width="80" height="30" label="Stäng" click="close();"/&gt; &lt;/mx:ControlBar&gt; &lt;/mx:TitleWindow&gt; </code></pre> <p>When displaying the window: In Ie. it works perfectly, but in FF the content flashes quickly and then the iframe becomes blank? </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload