Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2457

Flash/ExternalInterface does not work in IE if movie is fetched via Wicket/Ajax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.4.1
    • 1.4.2
    • wicket
    • None
    • IE6/7 FlashCS4/AS3

    Description

      If Flash movie CS4/AS3 is added with Wicket/Ajax then AS3/ExternalInterface.call
      does not return any value event it calls JavaScript functions, also ExternalInterface.objectID is null.

      Suggestion is that wicket-ajax.js:268 (1.4.1) breaks IE+Flash/ExternalInterface:

      // place all newly created elements before the old element
      while(tempParent.childNodes.length > 0)

      { var tempElement = tempParent.childNodes[0]; >>>>>> tempParent.removeChild(tempElement); <<<<< parent.insertBefore(tempElement, element); tempElement = null; }

      This "removeChild" breaks Flash/ExternalInterface in IE. If "removeChild" is removed then everything works fine.

      Attachments

        1. noname.zip
          16 kB
          Heikki Uotinen

        Activity

          People

            knopp Matej Knopp
            heikkiu Heikki Uotinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: