2 Replies Latest reply on Jun 25, 2010 5:50 PM by ska-man

    Problem with IE and pubblishedIntoWall

    ska-man Level 1

      Hi to all,

         i have a problem with InternetExplorer and CallBack


      In my flex code i have :


      flash.external.ExternalInterface.addCallback("pubblishedIntoWall", pubblishedIntoWall);


      The javascript code:



      function pubblishedIntoWallCarrello() {






      In both Firefox and Chrome the javascript works in the right way.

      In internet explorer the function pubblishedIntoWall is not called.


      Have some one got an idea of this problem?


      Thanks for your time

        • 1. Re: Problem with IE and pubblishedIntoWall
          jsd99 Level 3

          Do you have allowScriptAccess set in your IE object tag?

          • 2. Re: Problem with IE and pubblishedIntoWall
            ska-man Level 1

            First of all, thank for your reply


            This is the code that i use in the HTML, i use   allowScriptAccess = sameDomain



            ----------- CODE -------------------


            <div id="divContainercomposer" style="position:absolute;left:50%;top:0px;width:930;height:100%;margin-left:-465px">
                        <script language="JavaScript" type="text/javascript">
                        // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
                        var hasProductInstall = DetectFlashVer(6, 0, 65);
                        // Version check based upon the values defined in globals
                        var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
                        if ( hasProductInstall && !hasRequestedVersion ) {
                            // DO NOT MODIFY THE FOLLOWING FOUR LINES
                            // Location visited after installation is complete if installation is required
                            var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
                            var MMredirectURL = window.location;
                            document.title = document.title.slice(0, 47) + " - Flash Player Installation";
                            var MMdoctitle = document.title;
                                "src", "playerProductInstall",
                                "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"" ,
                                "width", "930",
                                "height", "100%",
                                "align", "middle",
                                "id", "composer",
                                "quality", "high",
                                "bgcolor", "#ffffff",
                                "name", "flashContent",
                                "type", "application/x-shockwave-flash",
                                "pluginspage", "http://www.adobe.com/go/getflashplayer"
                        } else if (hasRequestedVersion) {
                            // if we've detected an acceptable version
                            // embed the Flash Content SWF when all tests are passed
                                    "src", "composer",
                                    "width", "930",
                                    "height", "100%",
                                    "align", "middle",
                                    "id", "composer",
                                    "quality", "high",
                                    "bgcolor", "#ffffff",
                                    "name", "composer",
                                    "type", "application/x-shockwave-flash",
                                    "pluginspage", "http://www.adobe.com/go/getflashplayer"
                          } else {  // flash is too old or we can't detect the plugin
                            var alternateContent = 'Alternate HTML content should be placed here. '
                              + 'This content requires the Adobe Flash Player. '
                               + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
                            document.write(alternateContent);  // insert non-flash content
                        // -->
                              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                                    id="flashContent" width="930" height="100%"
                                    <param name="movie" value="composer.swf" />
                                    <param name="quality" value="high" />
                                    <param name="bgcolor" value="#ffffff" />
                                    <param name="allowScriptAccess" value="sameDomain" />
                                    <embed src="composer.swf" quality="high" bgcolor="#ffffff" id="composer"
                                        width="930" height="100%" name="composer" align="middle"