日期:2014-05-17  浏览次数:20970 次

IE下Flash读取json数据问题
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>line</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <script type="text/javascript" src="json2.js"></script>
        <script type="text/javascript" src="swfobject.js"></script>
   
 <script type="text/javascript">
var chart={"title": {"text": "","style": "font-size:16px; font-weight:bold;color:#000"},"x_axis": {"labels": {"labels": 

[{"text": "2011-05-16","size": 12,"visible": true},{"text": "2011-05-17","size": 12,"visible": false},{"text": "2011-05-

18","size": 12,"visible": true},{"text": "2011-05-19","size": 12,"visible": false},{"text": "2011-05-20","size": 

12,"visible": true},{"text": "2011-05-21","size": 12,"visible": false},{"text": "2011-05-22","size": 12,"visible": true},

{"text": "2011-05-23","size": 12,"visible": false},{"text": "2011-05-24","size": 12,"visible": true},{"text": "2011-05-

25","size": 12,"visible": false},{"text": "2011-05-26","size": 12,"visible": true},{"text": "2011-05-27","size": 

12,"visible": false},{"text": "2011-05-28","size": 12,"visible": true},{"text": "2011-05-29","size": 12,"visible": false},

{"text": "2011-05-30","size": 12,"visible": true},{"text": "2011-05-31","size": 12,"visible": false},{"text": "2011-06-

01","size": 12,"visible": true},{"text": "2011-06-02","size": 12,"visible": false},{"text": "2011-06-03","size": 

12,"visible": true},{"text": "2011-06-04","size": 12,"visible": false},{"text": "2011-06-05","size": 12,"visible": true},

{"text": "2011-06-06","size": 12,"visible": false},{"text": "2011-06-07","size": 12,"visible": true},{"text": "2011-06-

08","size": 12,"visible": false},{"text": "2011-06-09","size": 12,"visible": true},{"text": "2011-06-10","size": 

12,"visible": false},{"text": "2011-06-11","size": 12,"visible": true},{"text": "2011-06-12","size": 12,"visible": false},

{"text": "2011-06-13","size": 12,"visible": true},{"text": "2011-06-14","size": 12,"visible": false},{"text": "2011-06-

15","size": 12,"visible": true}],"rotate": "-90"},"steps": 2,"3d": 0,"offset": true},"y_axis": {"tick-length": 0,"labels": 

{},"steps": 5300,"min": 0,"max": 58918.398,"3d": 0,"offset": true},"elements": [{"OnClick": "lineclick","width": 2,"dot-

size": 0,"halo-size": 0,"loop": false,"on-show": {},"colour": "#CC3399","values": 

[8555,7209,53618.398,51002,43922,30959,34765,28379,26809,8115,3127.668,3434,3227,2031,8544,4695,1754,2007,1918,4122,3644,27

83,2578,1908,2140,2711,3838,2362,4839,2702,2069],"text": "\u9500\u552E\u91D1\u989D\uFF08\u5143\uFF09","fill-alpha": 

0.35,"type": "line","dot-style": {"on-show":