0 Replies Latest reply on Jul 9, 2008 8:44 PM by Balaji_Kumar_G

    FABridge is not working in IE 7.0

    Balaji_Kumar_G
      I am using dijit.dialog(From Dojo toolkit) for generating popup/dialog. Flex/swf is loaded in the Dialog and when i try to access the swf file in IE 7.0 using FABridge its not working, but its working in Mozilla.

      Following JavaScript function will be called when I click on button in Dialog popup
      function AddItem(){
      try{
      var flexApp = FABridge.AddSpecCategoryApp.root();
      }
      catch (e) {
      alert("flash Bridge error: " + e.name + " " + e.message );
      }
      }


      Flex embeded in dijit.dialog:
      <object id="ASApp" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,5,0,0" height="100%" width="100%">
      <param name="flashvars" value="bridgeName=AddSpecCategoryApp"/>
      <param name="src" value="Test.swf"/>
      <param name="wmode" value="opaque" />
      <embed name="ASApp" pluginspage=" http://www.macromedia.com/go/getflashplayer" src="Test.swf" height="100%" width="100%" wmode="opaque" flashvars="bridgeName=AddSpecCategoryApp"/>
      </object>


      I have added debug statements in FABridge__bridgeInitialized in FABridge.js, while dialog is loading its invoked and registered. But when I try to access .root , I am getting "Object doesn't support this property or method". Help me to resolve this issue ASAP.

      This help us to decide on FLEX for our project. Its bit critical.