Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33588

ExternalInterface.addCallback lost when cross iframes in IE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.5 (Release)
    • None
    • Active Screen
    • OS:Windows 7 (64-bit) Player:11.7.700.202 Browser: IE 8/9/10

    Description

      We have a parent window and use the ExternalInterface.addCallback to control 2 flex app in 2 iframes.
      First, the function works in single page and FF21, Chrome. But the function couldn't work in IE. The reproduce steps are listed below:
      1.Open the main window, it uses the ExternalInterface.addCallback function to displays the 1st iframe's flex app and does some thing.
      2.Click the flex app inside the 1st iframe. This action is for focusing the 1st flex app inside the 1st iframe.
      3.Click 2nd iframe window
      4.Click 1st iframe window, and the ExternalInterface.addCallback function fails to call.
      And these are the steps to let it work,
      repeat 1,2
      3.Click the something on 1st iframe window before clicking 2nd iframe window, this action is for leaving the 1st flex app focusing and let the focusing on the 1st iframe window.
      4.Click 2nd iframe window.
      5.Click 1st iframe window, and the ExternalInterface.addCallback works now.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kuocheng Kuocheng Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: