我是在php里生成.json文件,然后swfobject调用,显示出flash
郁闷,我的在本地好的,传到服务器就这问题,像上面改了也不行
Open Flash Chart
IO ERROR
Loading test data
Error #2032

This is the URL that I tried to open:12727917.json 看网上说在open-flash-chart.swf后面加r="+ Math.random() * 100000,加了还是不行
该怎办呢?

解决方案 »

  1.   

    你先确定是不是.json文件读取的问题。
    一步一步检查吧。
    或者你把你的代码贴出来。
      

  2.   


    检查一下JSON文件的读取权限还有路径是否正确,根据你的描述可能路径不正确
      

  3.   

    我的是只IE6下会出现这个错误,其他没问题,咋回事呢???This is the URL that I tried to open
      

  4.   

    注意加载顺序问题,他得几个加载事件,还有ready事件
      

  5.   

    为什么生成json文件,php文件中直接echo出来不就可以的么。。之前用这个chart的时候是缓存问题。
    解决方案就是使用cache-control:
    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
      

  6.   

    <system.webServer>
        <handlers>           
          <add verb="*" path="ofc_handler.ofc" name="OpenFlashChart" type="OpenFlashChart.WebHandler.ofcHandler, OpenFlashChart" />
        </handlers>
        <urlCompression doStaticCompression="false" doDynamicCompression="false" />
      </system.webServer>环境 win7,OpenFlashChart.dll v1.0
    将中的 path="ofc_handler.aspx" 改为  path="ofc_handler.ofc" 即可