1 Reply Latest reply on Feb 9, 2011 6:18 PM by scottchu.tw

    langref has empty content in show packages and classes list

    scottchu.tw

      I open the local version of Flex 4 language reference document html pages & find left panes have no contents (i.e. package and class list). I test it with serveral browsers, and only Firefox and Safari act normal, all other browsers including IE, Chrome, and Opera fail to display.  How to fix this?

       

       

        • 1. Re: langref has empty content in show packages and classes list
          scottchu.tw Level 1

          I fix some of the problem.

           

          In ajaxGet method in asdoc.js, I modify the code (red part is code I add) as follows:

           

          For IE, we just make sure to use ActiveXObject instead.

          :

           

          if(buildType=='standalone')
          {
            if (window.XMLHttpRequest && !document.all) { // if Mozilla, Safari etc

          ...
            } else if (window.ActiveXObject){ // if IE

           

          For Chrome, just add '--disable-web-security' in command line argument. (not a good way but I'm lazy to test how to judge if it's Chrome)

           

          For Opera, I believe we can use similar solution for Chorme but I'm too lazy to do it.

           

          =====

          edit:  2011/2/10

           

          I find there's a reminder document provided by Adobe. In this document, Adobe staff said you just disable "native XMLHTTP support" & things will work fine.