flex-users / flex-iframe

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

iFrame position not correct when inside multiple parent nodes #38

Open nicoulaj opened 13 years ago

nicoulaj commented 13 years ago

Originally filed by pieterja...@colruyt.be on 2010-01-27T12:57:04

What steps will reproduce the problem?

  1. Compile IFramePanelTest.mxml (see attachments)
  2. Open iFramePanelTest.htm (see attachments)
  3. Choose a URL and click 'Show Popup'

What is the expected output? What do you see instead? Expected: That the called html page is positioned correctly in the panel (and remains correctly positioned when dragging the panel) Observation: The html page opens but is put on an incorrect position.

What version of Flex-IFrame are you using? On what operating system and which navigator (specify the version too)? Flex-Iframe ver = 1.4.3 Flex SDK ver = 3.5 OS = Win XP Browser = FF 3.5.3 or IE6

Please provide any additional information below, and a sample Flex 3 project reproducing the issue if possible. This issue was already mentioned and solved in a previous version of Flex Iframe but in this example it seems to reappear

nicoulaj commented 13 years ago

Updated by Julien.N...@gmail.com on 2010-05-14T15:50:50

Original ticket set status to Acknowledged (we converted to open)

nicoulaj commented 13 years ago

Updated by Julien.N...@gmail.com on 2010-05-20T19:32:07

Can you provide the HTML page embedding the SWF ?

nicoulaj commented 13 years ago

Updated by pj.dela...@gmail.com on 2010-05-21T12:10:36

Hello Julien,

You should compile the mxml file and then run the htm file as found in the attachements. Or am I misunderstanding your question?

salutations, PJ

nicoulaj commented 13 years ago

Updated by kavita.g...@gmail.com on 2010-11-19T18:52:58

Hello Julien, I am facing the same issue as PJ.

I have the iframe inside a TitleWindow that pops up on clicking a graph that I have. The iframe is positioned correctly on IE 8.0 ( I have set the x and y coordinates of the iframe in accordance to the pop up window). However, the iframe does not position itself correctly on other browsers. I have tested this on Firefox 3.6.12, Safari 4.0.3 and also Google Chrome. The iframe appears on the left bottom corner where as the pop up window is positioned on the center of the page.

I am new to Flex and looking for a solution to be working for this. I need to show a ASPX page inside the pop up. So I am using the iframe in the popup window with the source of the iframe to the ASPX page. But if this does not work on other browsers, it is of no use and I will have to look at some other solution.

Any help on this ASAP is greatly appreciated. Thanks, Kavita

mattr1981 commented 13 years ago

Hi, got the exact same issue as the people above, has this ever been resolved?. I think I managed to fix it myself last time I used flex iFrame but can't remember and most of my old projects are not organised very well so it may take a while to see if I actually did. In the meantime, any help appreciated.

Thanks Matt

mmsilveira commented 13 years ago

Resolved

Hi, I had the same problem. Solved by passing the name of my SWF to the property "IFrame.applicationId." This should be done within the .

        override protected function childrenCreated():void{
            IFrame.applicationId = "index";
        }
rjattrill commented 12 years ago

I have observed that the problem occurs when running the SWF from a file system rather than from a local web server.

I use IFrame within an SWC that is used by my SWF. If I run the SWF from the file system using Firefox then the frame appears in an unexpected location. However if I access the SWF from a local web server, the problem goes away.