rldjrsksl / flex-iframe

Automatically exported from code.google.com/p/flex-iframe
0 stars 0 forks source link

iFrame position not correct when inside multiple parent nodes #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

* There seems to be a relation to the size of the surrounding div's (as if 
these offset or not used in the calculation of x & y; althought it might 
just seem as if there's a relation).

* When only viewing the code inside the content div, it seems to be fine 
in IE6

* In FF it doesn't seem to work not even in the most simple version, but 
in Firebug I always get the following message when the iFrame opens:

   [embedId].[iFrameId]_load is not a function

Original issue reported on code.google.com by pieterja...@colruyt.be on 27 Jan 2010 at 12:57

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by Julien.N...@gmail.com on 14 May 2010 at 3:50

GoogleCodeExporter commented 8 years ago
Can you provide the HTML page embedding the SWF ?

Original comment by Julien.N...@gmail.com on 20 May 2010 at 7:32

GoogleCodeExporter commented 8 years ago
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

Original comment by pj.dela...@gmail.com on 21 May 2010 at 12:10

GoogleCodeExporter commented 8 years ago
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

Original comment by kavita.g...@gmail.com on 19 Nov 2010 at 6:52