flex-users / flex-iframe

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

flex-iframe appears and disappears all the time in Firefox (some refreshing problem or something) #55

Closed nicoulaj closed 13 years ago

nicoulaj commented 13 years ago

Originally filed by dirkvran...@gmail.com on 2009-11-05T13:35:30

Running the application in Firefox and opening the panel on which the iframe should be displayed does not show the iframe. When resizing my FF window it sometimes flashes up but when I stop reseizing the window the iframe dissapears again. When I open a new tab in Firefox, go to the new tab and return to my application the webbpage is displayed. However when trying to click anywhere in the page maks parts of the page dissapear again. When the entire iframe is invisible for me and I click randomly in the page I aslo get some flashes of the webpage sometimes.

Testing all this in IE works fine. However the customer wants to used both IE and Firefox. So the problem is something with refreshing I guess.

So I'm using both Firefox (does not work) and IE (does work) on Windows XP. The version of flex-iframe is 1.4.

My code that causes the problem:

<?xml version="1.0" encoding="utf-8"?> <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:panel="com.arc90.flexlib.containers.*" xmlns:flexiframe="http://code.google.com/p/flex-iframe/" width="100%" height="100%">

<mx:Script>
    private var _file:String;
    private var _type:String;

    public var parentView:RapportsView;

    public function get file():String {
        return _file;
    }

    public function set file(value:String):void {
        _file = value;
    }

    public function get type():String {
        return _type;
    }

    public function set type(value:String):void {
        _type = value;
    }
</mx:Script>

<flexiframe:IFrame id="googleIFrame"
                   label="Google"
                   source="http://www.google.com"
                   width="100%"
                   height="100%"
                   includeInLayout="true"
                   />

/mx:Panel

nicoulaj commented 13 years ago

Updated by Julien.N...@gmail.com on 2009-11-05T14:15:16

Did you set "wmode=opaque" in your html template ? ( http://code.google.com/p/flex-iframe/wiki/README )

nicoulaj commented 13 years ago

Updated by dirkvran...@gmail.com on 2009-11-05T14:24:10

I forgot it in one place but even when I put it there it doesn't work, my main file (a jsp file) is attached

nicoulaj commented 13 years ago

Updated by dirkvran...@gmail.com on 2009-11-05T14:27:11

Julien, i'm sorry but it does work :) I did not deploy the application in a proper way. So with the opaque value set on three places in the jsp it now works! Thx a lot for the help! The issue can be closed!

nicoulaj commented 13 years ago

Updated by Julien.N...@gmail.com on 2009-11-05T15:03:38

No problem ;)

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