Coder Social home page Coder Social logo

flex-iframe's People

Contributors

bithooked avatar danielwanja avatar japonophile avatar nicoulaj avatar xeroply avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flex-iframe's Issues

instantiating an instance of flexiframe class

Originally filed by [email protected] on 2009-11-22T15:20:02

Hi

This is a great component , I have used it to display streetview in a
googlemap marker. If anyone is interested let me know where and I'll post
the code I have so far.

Anyhow, I have a problem. I want to use actionscript to add a iframe to my
application : I do the following:

var iframe:IFrame = new IFrame();

iframe.id = "if"; iframe.source = "http://www.google.com"; iframe.width

= 100; iframe.height = 100; iframe.visible = true;

// add my iframe to my canvas in app

myCanvas.addChild(iframe); 

But no iframe appears, I know something is happening because the status bar
shows I am requesting google.com, but the iframe will not diaplay. I have
set wmode =opaque ect.

Thanks for any help

registering a viewer.id as a key doesn't work if you have special characters

Originally filed by [email protected] on 2009-12-02T01:13:51

when registering a viewer.id as a key, usually your sandbox account, you
have to strip off the special characters and replace them with words

e.g.

[email protected] -> youraccountATwavesandboxDOTcom

which is tedious. since i need to convert it back to the original when i
wave.getState().getStringValue(viewer.id)

in debugging i can see the object is created even with the special characters.

but in wave i can't see any keys created using
wave.getViewer().getKeys().toString(). only when i strip off the special
characters that's when they get created.

iFrame not loading in latest Safari

Originally filed by [email protected] on 2010-03-24T16:45:45

What steps will reproduce the problem?

  1. Load Flex app containing iFrame in Safari, previously worked in older
    versions of Safari and works in FireFox.

What is the expected output?

View iFrame

What do you see instead?

Nothing

What version of Flex-IFrame are you using?

1.4.3

On what operating system and
which navigator (specify the version too)?

Mac OS X Version 10.6.2
Safari Version 4.0.5 (6531.22.7)

? Windows 7
Internet Explorer - latest version (awaiting client confirmation)

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

IFrame and iframe date is not alligned when resized

Originally filed by [email protected] on 2009-12-30T15:12:06

What steps will reproduce the problem?

1.Add IFrame to a Flex Module
2.Invoke From Safari
3.Resize the window
4. the IFrame and iframe date is not alligned
5. IE it is working properly
Screen shot attached.

What is the expected output? What do you see instead?

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
IFrame version 1.4.3.
Windows XP

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

Use IFrame in module (not dirrectly in application)

Originally filed by [email protected] on 2010-11-29T17:33:34

What steps will reproduce the problem?

  1. insert an IFrame inside a module (using the following sample :
    <code:IFrame id="googleIFrame"
    label="Google"
    source="http://www.google.com"
    width="80%"
    height="80%"/>
    )

What is the expected output?
The IFrame should be at in the module
What do you see instead?
The IFrame is outside the module, just above and inside the application

What version of Flex-IFrame are you using?
The swc for FLEX 4 (http://code.google.com/p/flex-iframe/issues/detail?id=79&colspec=ID%20Type%20Status%20Priority%20Summary)

On what operating system and which navigator (specify the version too)?
XP SP3, Firefox 3.6.12

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?

I can provide a sample project if neccessary...

Regards

Wrong iframe position on loading swf

Originally filed by [email protected] on 2010-03-09T09:48:29

What steps will reproduce the problem?

  1. Create a flash AS3 file
  2. Create a flex AS3 file with flex-iframe inside
  3. Load the flex swf inside the flash swf

What is the expected output? What do you see instead?
It should load the flex swf with the iframe.
It loads the swf but the iframe is not in the right place (look at
screenshots attacched).

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
Flex-iframe 1.4.3 on Firefox 3.6 and IE8

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

Iframe does not work in an actionscript project

Originally filed by [email protected] on 2009-12-03T07:13:16

What steps will reproduce the problem?

  1. create a new actionscript project.
  2. Add flex-iframe.swc and initialize iframe. Add the iframe to stage by
    using addchild.
    3.Runt he project.

What is the expected output? What do you see instead?
Expected: IFrame should appear on stage. Instead, the following error is
produced:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at com.google.code.flexiframe::IFrame/handleAdd()[/home/nicoulaj/
workspaces/flexiframe/flexiframe/src/com/google/code/f
lexiframe/IFrame.as:380]

The systemManager instance returns null.

This works completely find if the project has an mxml application tag.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
Tried on all versions. Windows OS and Internet Explorer Version 8.0

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

iFrame problem- overlaps with other component.

Originally filed by [email protected] on 2010-02-23T05:50:43

Hi,
I'm using IFrame with Flex 4.0.0 SDK on Flash Builder with Windows in Firefox.
I've some movable canvas shown in the image. The Editor Panel is a
viewstack with a code and design view in Canvas. When in code view the
sliding panels goes in front of the editor but in design view the sliding
panel goes behind.
I don't know where the problem is.
Please help me....i'm stuck with this.

What is the expected output? What do you see instead?
The left and right panels(Project Files,Taxonomy Elements....) should stay
on top in design or code view.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
Flex-IFrame version 1.4.3. Operating System Windows 7, XP.

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

IFrame does not show up

Originally filed by talktoughuk on 2010-12-13T22:33:25

What steps will reproduce the problem?

I can use flex-iframe with no problems in the demo apps and I can create a simple application myself and it works just fine.

However when I try to use it in my main application the iframe does not show up and I can't work out why.

What is the expected output? What do you see instead?

I traced the output in Firebug and it comes up with the following error:

function onload(event) {
null.AnIFrame0_load()

and the null causes an error

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?

IFrame 1.4.6
Mac OSX 10.6
Safari 5.0.3
Firefox 3.6.12

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?

Yes set wmode to opaque and also have an id setup for iframe in mxml version

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

I can't provide a copy of the app in full as it is way to big but it uses Defraga, Cairngorm, as3corelib, Defraga and flexlib if that is any help (in case they may conflict in some way). The app also uses Externalinterface to call javascript for other functions

iFrame does not work anymore with Safari 5

Originally filed by [email protected] on 2010-06-17T11:42:11

What steps will reproduce the problem?
Access an application using iFrame component with Safari 5

What is the expected output? What do you see instead?
Page kind of "hanging"

What version of Flex-IFrame are you using? On what operating system and
Mac OS, Safari Version 5.0 (6533.16), flex-iframe-1.4.6

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

Blinking cursor stays while switching tabs in tabnavigator

Originally filed by [email protected] on 2009-12-29T16:23:42

What steps will reproduce the problem?

  1. Go to
    http://flex-iframe.googlecode.com/svn/trunk/examples/build/HTMLTest/HTMLTest.html
    (Tabbed nav demo)
  2. Focus on Google input box, notice the blinking cursor (at this point if
    you focus somewhere else and cursor disappears, it will work fine at step 3)
  3. Switch to yahoo tab and see that cursor is still blinking.

What is the expected output? What do you see instead?
Cursor disappears when switching tabs. Now it stays blinking

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
IE 7.0, it works fine with FireFox

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

One possible solution would be to call some js function when hiding iframe
to switch focus?

IFrame issue with scrolling

Originally filed by [email protected] on 2009-02-06T13:19:29

What steps will reproduce the problem?

  1. Put IFrame inside the container which has scrolling on
  2. Put other components inside container to make scrollbars appear.
  3. Scroll the container

What is the expected output?
IFrame should move with other content.

What do you see instead?
IFrame remains at the same place.

What version of the product are you using? On what operating system?
1.3.3 version WinXP, IE

Please provide any additional information below.

This issue concerned with flex scrolling optimization. Containers use
scrollRect field to make scrolling. It is not forces invalidation and the
moveIFrame function doesn't called. Possible way to fix - define event
listener for SCROLL event. One more issue when such event listener is
defined is that during scrolling IFrame can go away from the parent
container and overlap other components. The IFrame should be hidden when it
goes away from parant container bounds.

IFrame(child container) still visible after closing the Title Window(parent Container)

Originally filed by [email protected] on 2010-12-02T09:04:17

What steps will reproduce the problem?
Run the application and then,
1.Click the link button labelled "Click me"
2.Close the pop up window which is a Title Window
3.Do the same process a couple of times.

What is the expected output? What do you see instead?
Whenever the Title Window is closed the IFrame should also be removed from the view.

But right now, when the Title Window is closed the IFrame does not get removed from the view.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?
Yes

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.
Sample project attached

Javascript error - Can't move focus to the control because it is invisible - IE6

Originally filed by [email protected] on 2010-07-22T18:31:07

What steps will reproduce the problem?

  1. This happens in IE 6 when using the IFrame

What is the expected output? What do you see instead?

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
Version 1.4.6, Windows XP, IE 6

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

It can not perform normally to add showEffect or hideEffect event.

Originally filed by [email protected] on 2010-01-14T09:45:56

my mxml:

<mx:Iris id="irisOut" duration="3000"/>
<mx:Iris id="irisIn" duration="3000"/>
<iframe:IFrame id="rightIframe"
source="http://www.obara.or.jp/"
width="100%"
height="100%"
showEffect="{irisOut}"
hideEffect="{irisIn}"/>

<mx:Button label="display" click="rightIframe.visible=true"/>
<mx:Button label="hide" click="rightIframe.visible=false"/>

when i click display or hide, it can not show effect.
please to tell me how can i do!

ExternalInterface

Originally filed by [email protected] on 2010-02-28T06:22:18

What steps will reproduce the problem?

  1. New Project
  2. SWC in Libs
  3. Add Child

What is the expected output? What do you see instead?
Error: ExternalInterface is not available in this container. Internet
Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers
that support NPRuntime are required.
at
com.google.code.flexiframe::IFrame/createChildren()[/home/nicoulaj/workspaces/flexiframe/flexiframe/src/com/google/code/flexiframe/IFrame.as:247]
at
mx.core::UIComponent/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5370]
at
mx.core::Container/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2526]
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5267]
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3305]
at
mx.core::Container/addChildAt()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2217]
at
mx.core::Container/addChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2140]
at
mx.core::Container/createComponentFromDescriptor()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3681]
at
mx.core::Container/createComponentsFromDescriptors()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3493]
at
mx.core::Container/createChildren()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2589]
at
mx.core::UIComponent/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5370]
at
mx.core::Container/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2526]
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5267]
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3305]
at
mx.core::Container/addChildAt()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2217]
at
mx.core::Container/addChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2140]
at
mx.core::Container/createComponentFromDescriptor()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3681]
at
mx.core::Container/createComponentsFromDescriptors()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3493]
at
mx.core::Container/createChildren()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2589]
at
mx.core::WindowedApplication/createChildren()[C:\autobuild\3.2.0\frameworks\projects\airframework\src\mx\core\WindowedApplication.as:1766]
at
mx.core::UIComponent/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5370]
at
mx.core::Container/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2526]
at
mx.core::Application/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Application.as:846]
at Runescape/initialize()[/Users/Alec/Documents/Flex Builder
3/Runescape/src/Runescape.mxml:0]
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2009]
at
mx.managers::SystemManager/initializeTopLevelWindow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:3234]
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:3064]
at
mx.managers::SystemManager/docFrameListener()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2916]

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)? Newest, Mac OS X 10.6.2

xmlns:flexiframe="com.google.code.flexiframe.*" Using this in the top. (mx:App)

Bug 26 fix

Originally filed by [email protected] on 2009-12-05T10:13:48

Can you look at the issue 26. I've attached a patch in comments to fix
this... Not sure if anyone noticed it...

printIFrame doesnยดt work when using iframe "content"

Originally filed by [email protected] on 2010-03-19T16:36:12

What steps will reproduce the problem?

  1. Create IFrame
  2. Use "content" to set your HTML
  3. Call printIFrame function of iframe

What is the expected output? What do you see instead?
Expected print dialog.
I see nothing.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
flex-iframe = 1.4.3
Windows XP
Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.2) Gecko/20100115
Firefox/3.6 (.NET CLR 3.5.30729)
IE 8.0.6001

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.
The problem occurs when you use "content", the flex-iframe creates a DIV
and when you call print function javascript throws an exception saying
"document[...] is null or ..."

Cannot Print in Flash Builder 4

Originally filed by [email protected] on 2010-09-16T22:22:50

What steps will reproduce the problem?

  1. Try and print from flex iframe component in Flash Builder 4.

What is the expected output? What do you see instead?
Expect a printer dialog. Instead see an error message that says "TypeError: Access is denied".

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
Flex Iframe 1.4.6
Flash Builder 4
Windows 7 64 bit
Internet Explorer 8

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?
Have not set the wmode.

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.
The error message is being generated from the web browser so I believe that this is probably a javascript issue.

using flex iframe inside ebay sell page

Originally filed by [email protected] on 2010-01-31T15:38:23

When we used a flex iframe inside a ebay sell page, flex iframe window is
displayed well below Flash window. Please see the attahched screen shot.
What steps will reproduce the problem?

  1. Build a flex iframe based application.
  2. Create an account in ebay sell page to display flex iframe based
    application.

What is the expected output? What do you see instead?
Flex iframe position and size is within the flash window.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
Latest version of flex iframe is taken from SVN.

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

iframe overlapping other container when loading/loaded

Originally filed by [email protected] on 2010-06-22T20:13:09

What steps will reproduce the problem?

  1. put a couple iFrame inside a container(viewStack)
  2. have a timer that loops through these ViewStack
  3. there's menu on top and bottom of the application

What is the expected output? What do you see instead?
when content loaded inside the iFrame, the iFrame starts overlapping the top and bottom menu which is in mxml. Please refer to picture, the iFrame completely went outside of it's container when loaded.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
window XP, iFrame 1.4.6, IE 6

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?
Yes

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.
It seems like Iframe doesn't know that it suppose to be in a container.

Defect 32 is back: iFrame reloads with every visibility change

Originally filed by [email protected] on 2010-01-20T22:31:28

This issue was fixed in 1.3.4, but it appears to have reappeared in the
present 1.4.3 release.

What steps will reproduce the problem?

  1. Create two IFrame components: one pointing to Google, the other pointing
    to Yahoo
  2. Make the Google one visible and start a search
  3. Now, switch to the Yahoo one (the Google one will then become invisible)
  4. Switch back to Google

What is the expected output?
The Google IFrame should have kept its content and display the search
results

What do you see instead?
The Google IFrame goes back to the home page

What version of the product are you using? On what operating system?
1.4.3 running Mozilla on Windows 7 (problem doesn't happen with WebKit)

IFrame loses visibility when moving out of focus

Originally filed by [email protected] on 2010-03-18T18:26:49

What steps will reproduce the problem?

  1. Start a flex project, include the Flex-Iframe SWC
  2. Copy/Paste the code below into a new component
  3. Insert the component into the main application.
  4. "Google" something in the iframe and then click the Flex text input.

What is the expected output? What do you see instead?

Expected: iFrame stays visible

Actual: iFrame becomes invisible

Included a hack that allows visibility to be restored by adding 1 to the
width and subtracting 1 from the width in a callLater method.

private function now():void{
myFrame.width += 1;
callLater(now2);
}

        private function now2():void{
            myFrame.width -= 1;
        }

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?

Flex Iframe: 1.4.3
XP -> IE7

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

Here is the complete source code for the component

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:flexiframe="http://code.google.com/p/flex-iframe/" width="830"
height="570" fontFamily="HelveticaNeue Condensed">
mx:Script
<![CDATA[
private function now():void{
myFrame.width += 1;
callLater(now2);
}

        private function now2():void{
            myFrame.width -= 1;
        }
    ]]>
</mx:Script>
<mx:Canvas borderColor="#FBB500" borderStyle="solid" 

borderThickness="2" cornerRadius="8" backgroundColor="#FFFFFF" left="5"
top="5" right="5" bottom="5">

    <mx:HBox y="5" verticalAlign="middle" fontSize="12" 

fontWeight="bold" left="5" right="5" click="now()">
<mx:Label text="Enter EFC Amount:"/>
<mx:TextInput id="efcamount" restrict="0-9."/>
<mx:Button label="Submit"/>
<mx:Spacer width="100%"/>
<mx:Button label="X"/>
/mx:HBox

    <mx:Box borderStyle="solid" borderThickness="1" 

borderColor="#666666" left="5" top="35" right="5" bottom="5">
<flexiframe:IFrame id="myFrame" width="100%"
height="100%" source="http://google.com"/>
/mx:Box

</mx:Canvas>

/mx:Canvas

frame cannot be embedded in another frame

Originally filed by rangaraog on 2010-05-27T21:01:11

What steps will reproduce the problem?
1.Can I load a HTML page having iframes??
2.frame cannot be embedded in another frame
3.The page I am trying to load has 4 iframes.

What is the expected output? What do you see instead?
My html page. showing error message "frame cannot be embedded in another frame"

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
1.4.6

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?
yes

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

iframe cannot display Web page containing VNC viewer Java applet

Originally filed by [email protected] on 2010-07-21T20:12:13

What steps will reproduce the problem?
1.create an iframe that points to a url containing the TightVNC VncViewer Java applet

What is the expected output? What do you see instead?
Top row buttons are displayed but the main display remains blank
Keyboard input works

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
flex-iframe 1.4.6
MacOSX 10.6.4
Safari 5.0

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?
Y

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

Styles were not applied in Internet Explorer

Originally filed by [email protected] on 2010-12-28T10:30:51

What steps will reproduce the problem?
1.Load the titi.html file in the IFrame
2.The content is well displayed in Firefox, with the correct style
3.Now open internet explorer, the content doesn't have the correct style.

With Internet Explorer, the appearance of the titi.html file should be the same than if you open directly the titi.html file.

Version of Flex-IFrame : 1.4.6
OS: Windows XP
Navigator: IE 8

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?
Yes

iFrame position not correct when inside multiple parent nodes

Originally filed by [email protected] 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

  • 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

when placing flex swf in a centered div ( where flex is not 100% of the page) the iframe posiitioning is off in IE7

Originally filed by [email protected] on 2010-11-17T11:47:32

What steps will reproduce the problem?

  1. Create a div with text-centered ( for ie7/ie8)
  2. place flash file in the div and set flex application layout to "absolute"
  3. create iframe in a container inside the flash file

What is the expected output?

iframe should position over the flex application relative to its container.

What do you see instead?

iframe is all the way to the left outside of the container.

What version of Flex-IFrame are you using?

1.4.6

On what operating system and
which navigator (specify the version too)?

Windows 7, IE7 ( IE8 with IE7 compatibility mode turned on)

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?

yes

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

The offset property in IE7 is being reported as 0 when the parent div is centered using text-center in the movieframe function of the library.

We have "hacked" our local copy since we use jquery to fix this ( not suggesting this is a long term fix for the actual library)

IFrameExternalCalls.as

INSERT_FUNCTION_MOVEIFRAME

I changed the offset javascript to use jquery ( since we have it in our project) as follows :

from :

"var swfObject = document.getElementById(objectID); " +
"frameRef.style.left = x + swfObject.offsetLeft + 'px'; " +
"frameRef.style.top = y + swfObject.offsetTop + 'px'; " +

to :

"var swfObjectOffset = $('#' + objectID).offset(); " +
"frameRef.style.left = x + swfObjectOffset.left + 'px'; " +
"frameRef.style.top = y + swfObjectOffset.top + 'px'; " +

this fixes the issue for me, but of course since the flex iframe is pure js it will need some "special" IE7 tweaking if you're not using jquery.

Cheers
Grant

bluetubeinteractive

IFrame not working with PDFComplete

Originally filed by [email protected] on 2011-04-16T12:01:13

What steps will reproduce the problem?

1.Uninstall Acrobat reader
2.Install PDF Complete.
3.Display a PDF document in IFrame

What is the expected output? What do you see instead?
The document is supposed to display in IFrame
But Iframe is blank and the document PDF document is displayed in PDF Complete viewer. If acrobat reader is used instead of PDF complete this problem is not there.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?

Safari and moxilla

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?
yes

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

var child:IFrame = new IFrame();
child = new IFrame();
child.percentWidth = 100;
child.percentHeight = 100;
child.source = stringURL;
///vts/Reports/GeofenceSpeedViolationReport1302953616148.pdf
//child.source = "http://adobeindia.com/ado/index.html";
child.source="/vts/Reports/GeofenceSpeedViolationReport1302953616148.pdf";
child.visible=true;
child.enabled=true;
child.id="idIFrame";
titleWindow= new TitleWindow();
titleWindow.title=reportGrid.selectedItem.label;
titleWindow.addChild(child);
titleWindow.showCloseButton = true;
titleWindow.width = 990;
titleWindow.height =can1.height;
titleWindow.addEventListener(CloseEvent.CLOSE, titleWindow_close);
PopUpManager.addPopUp(titleWindow, this, true);
PopUpManager.centerPopUp(titleWindow);

Looking forward for your reply

IFrame disappears when focusing out of it.

Originally filed by [email protected] on 2010-04-30T07:07:10

What steps will reproduce the problem?

  1. Create an IFrame object inside the main Application.
  2. Click on the IFrame
  3. now cluck on the Application itself.

What is the expected output? What do you see instead?
Same screen I saw before.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
Most recent IFrame code, Flex 3, Windows 7 and IE8.

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="init()"
xmlns:code="http://code.google.com/p/flex-iframe/">
<code:IFrame width="400" height="400"
source="http://www.google.com" horizontalCenter="0" verticalCenter="0"/>
/mx:Application

Dead iframes still alive when removed from SuperTabNavigator

Originally filed by [email protected] on 2009-12-30T17:04:15

What steps will reproduce the problem?

  1. Create SuperTabNavigator with and couple of buttons to dymanically add
    iframes to tabnav.
  2. Add alerts for all methods which call hideDiv.
  3. Open a few new tabs and then close them. Repeat the process.
    See that "dead" iframes are still being alive and hideDiv is called for
    them from handleChange or sometimes with null as id.

What is the expected output? What do you see instead?

I would expect IFrame once it's removed from supertabnavigator to be
garbage collected. Now this behavour results in many calls to hide js
function(easy to check by adding alert to hide js function) and memory is
not recovered.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?

IFrame 1.4.3
FlexLib 1.2.4
Any browser
Flex 3.3

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

These dead iframes are called from here, could this be because event
listeners are not deregistered? I am digging it up, but I am not that flex
expert

protected function handleChange(event:Event):void
{
var target:Object = event.target;

        if (event is IndexChangedEvent)
        {
            var changedEvent:IndexChangedEvent = IndexChangedEvent(event)
            var newIndex:Number = changedEvent.newIndex;

            Alert.show("Calling updateFrameVisibility from handleChange

with index = " + changedEvent.newIndex);
var result:Boolean =
updateFrameVisibility(checkDisplay(target, newIndex));
logger.debug("Frame {0} set visible to {1} on
IndexChangedEvent", _frameId, result);
}
}

Does it work with AIR applications

Originally filed by [email protected] on 2009-12-04T17:45:01

Does it work with AIR applications? I get this error:
The ExternalInterface is not available in this container. ExternalInterface
requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or
other browsers that support NPRuntime.

Thanks

Scroll Contents of IFrame

Originally filed by [email protected] on 2010-08-12T19:52:24

I am using Iframe component to display pdf in my Flex application.
My requirement is to scroll the pdf without touching the Acrobat pdf reader.

I have buttons in my Flex App "UP", "DOWN". When I click on them, pdf should scroll up and down.

The requirement is strange and the question may be off the topic here. I tried searching in google for browser pdf controls and browser communication of pdf reader..

Any help and direction is greatly appreciated. Thank you.

I am using 1.4.6 version of Iframe. With IE6 on Windows XP.

Opening Alert over IFrame

Originally filed by [email protected] on 2010-08-18T15:30:22

Once I try to open a popup alert over IFrame component (with setting overlayDetection="true"), the IFrame gets invisible and popup window works properly. The problem is that I need to display IFrame component's content blurred behind the alert popup once displayed, but I could not achieve the same. Could you suggest on the same please ?

iframe has crossdomain issues...

Originally filed by [email protected] on 2010-01-17T22:58:25

when the iframe is loaded from a different domain calls from javascript to
test validity of the iFrame instance fails (askForEmbedObjectId).

work around: provide the object id from the application. e.g,

added new setter in IFrame.as

public function set htmlFrameId (id:String):void{
applicationId = id;
}

and setup IFRame as follows...

<flexiframe:IFrame id="boReport_mdr" htmlFrameId="cgr_mdr_flexgui"
label=" Check List " width="100%" height="804"
borderStyle="inset" borderThickness="5"/>

Error: Cannot resolve attribute 'update' for component type

Originally filed by [email protected] on 2010-06-24T20:57:03

What steps will reproduce the problem?

  1. Open Flash Builder 4
  2. Create New Project
  3. Settings -
    Application type - Web
    Flex SDK - Use Default SDK ("currently "Flex 4.0")
  4. Library Path
    Component Set - MX + Spark
    Framework Linkage - Use SDK Default
    Check all three checkboxes (Verify RSL Digest..., Use local debug runtime..., automatically determine library...)

Depending how you setup your namespaces...

  • If you use the 2006 version (xmlns:mx="http://www.adobe.com/2006/mxml") you will get an error saying: Cannot resolve attribute 'update' for component type
  • If you use the 2010 version (xmlns:s="library://ns.adobe.com/flex/spark"), you will get an error saying: 'PodLayoutManager' declaration must be contained within the tag, since it is not assignable to the default property's element type 'mx.core.IVisualElement'

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
I am using the Flex-IFrame v1.4.6 on Windows XP while testing it in: Google Chrome 5, Firefox 3.5, Safari 5, Opera 10.54 and Internet Explorer 6 (need to have v6 for work...)

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?
Yes, the window mode is set to opaque.

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.
That's pretty much it... I can add more information upon request.

callIFrameFunction() does not work with all ways to declare Javascript functions

Originally filed by [email protected] on 2010-02-23T07:01:35

I am unable to get the callIFrameFunction method working. Below is my code
snippet. Any help would be mich appreciated:-

I am calling a js function defined in my iframe source page:-

frame1.callIFrameFunction("clickMe");

In the html page, I have added the function:-

function clickMe()
{
alert('1');
}

But i dont get the alert. Please can anyone advice where I am going wrong.

Thanks

Flash Builder 4 error: The supplied DisplayObject must be a child of the caller.

Originally filed by [email protected] on 2010-04-21T22:32:30

I'm trying to use flex-iframe in Flash Builder 4. I'm creating a project
with similar content to SimpleHtml example. On startup, I get the
following error. Can you please advise?

BTW, I did apply the wmode=opaque to index.template.html. My mxml file is
also at the end of this error listing.

Flash Builder 4 Error

ArgumentError: Error #2025: The supplied DisplayObject must be a child of
the caller.
at flash.display::DisplayObjectContainer/getChildIndex()
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawC
hildren_getChildIndex()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\managers\SystemManager.as:2017]
at mx.managers::SystemRawChildrenList/getChildIndex()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\managers\SystemRawChildrenList.as:181
]
at com.google.code.flexiframe::IFrame/buildContainerList()
[/home/nicoulaj/projects/flex/flex-
iframe/library/src/com/google/code/flexiframe/IFrame.as:715]
at com.google.code.flexiframe::IFrame/createChildren()
[/home/nicoulaj/projects/flex/flex-
iframe/library/src/com/google/code/flexiframe/IFrame.as:282]
at mx.core::UIComponent/initialize()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\UIComponent.as:7250]
at mx.core::Container/initialize()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:3129]
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded
()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\UIComponent.as:7142]
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\Container.as:3951]
at mx.core::Container/addChildAt()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:2616]
at mx.core::Container/addChild()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:2534]
at mx.core::Container/createComponentFromDescriptor()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:4371]
at mx.core::Container/createComponentsFromDescriptors()
[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\Container.as:4160]
at mx.containers::Panel/createComponentsFromDescriptors()
[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\containers\Panel.as:1685]
at mx.core::Container/createChildren()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:3187]
at mx.containers::Panel/createChildren()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\containers\Panel.as:1198]
at mx.core::UIComponent/initialize()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\UIComponent.as:7250]
at mx.core::Container/initialize()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:3129]
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded
()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\UIComponent.as:7142]
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\Container.as:3951]
at mx.core::Container/addChildAt()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:2616]
at mx.core::Container/addChild()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:2534]
at mx.core::Container/createComponentFromDescriptor()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:4371]
at mx.core::Container/createComponentsFromDescriptors()
[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\Container.as:4160]
at mx.core::Container/createChildren()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:3187]
at mx.core::UIComponent/initialize()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\UIComponent.as:7250]
at mx.core::Container/initialize()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Container.as:3129]
at mx.core::Application/initialize()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\core\Application.as:1049]
at FlexIFrame/initialize()
at mx.managers.systemClasses::ChildManager/childAdded()
[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.a
s:189]
at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow
()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.a
s:341]
at mx.managers::SystemManager/initializeTopLevelWindow()
[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\managers\SystemManager.as:2810]
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kick
Off()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\managers\SystemManager.as:2637]
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::prel
oader_completeHandler()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\managers\SystemManager.as:2539]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:\dev\4.0.0
\frameworks\projects\framework\src\mx\preloaders\Preloader.as:515]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

My mxml file:

<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" minHeight="600"
xmlns:flexiframe="http://code.google.com/p/flex-
iframe/"
>
fx:Declarations

/fx:Declarations

<!-- A local Html page embedded -->
<mx:Panel title="A simple Html page embedded"
          width="80%"
          height="80%">

    <flexiframe:IFrame id="myFrame"
                       width="100%"
                       height="100%"

source="www.google.com"/>

</mx:Panel>

/mx:Application

anchor tag that downloads pdf gives problem in google chrome

Originally filed by [email protected] on 2011-02-03T06:40:50

What steps will reproduce the problem?

  1. Create an html which has an anchor tag that points to a pdf.
  2. In a flex application create a panel and include a flex-iframe in this panel. Loads the html created in previous step in this felx-iframe.
  3. Run the flex application and Click on the anchor tag in the flex-iframe.

What is the expected output? What do you see instead?
Expected Output is that the pdf opens up within the container in which the flex-iframe is embedded.
What is seen: The pdf opens in IE and firefox very well but in chrome the flex interface starts having flashes. Also the font size of google chrome starts reducing.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?
Issue on Chrome. Flex iFrame version 1.4.6. The web-application runs on windows 2008 server and client machine is windows 7.

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?
Yes, I followed the user guide and set the wmode to opaque as well.

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

IFrame not displayed when flex stage switches to FullScreen Mode

Originally filed by [email protected] on 2011-04-26T05:16:35

What steps will reproduce the problem?
1.Create a simple flex application(main.mxml) and place a button.Create component using flexIFrame.Insert that custom component in the main application.
2.For the button click call a function (toggle_fullscreen).
3.In the toggle fullscreen function put this -

stage.displayState=StageDisplayState.FULL_SCREEN;

What is the expected output? What do you see instead?

Now when we press the button it should show the stage as full screen(which is fine) with the IFrame and its contents.The main issue here is IFrame disappears in the full screen mode.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?

Flex-IFrame version 1.4.6 and Operating System is Windows 7 Enterprise.

Did you follow the users guide ? Particularly, did you set "wmode" to
"opaque" ?

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

Does not move with parent container

Originally filed by [email protected] on 2010-04-17T22:19:18

What steps will reproduce the problem?

  1. Created panel
  2. Panel is parent to Iframe
  3. Center Panel
  4. I frame with not move with panel when browser is resized

What is the expected output? What do you see instead?

the Iframe will stay in its original position as the panel moves when the
browser resizing.

What version of Flex-IFrame are you using? On what operating system and
which navigator (specify the version too)?

Most recent

Please provide any additional information below, and a sample Flex 3
project reproducing the issue if possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.