上一页 1 ··· 13 14 15 16 17
摘要: <script type="text/javascript"> var xmlhttp = new ActiveXObject("Microsoft.XMLhttp"); function send() { xmlhttp.Open("POST", "Handler.ashx?r=" +Math.random()... 阅读全文
posted @ 2011-10-19 07:51 高捍得 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 跨浏览器解析xml文件 xml文件 为 a.xml: <?xml version="1.0" encoding="utf-8"?> <Root> <Tree id="0">数目0</Tree> <Tree id="1">数目1</Tree> <Tree id="2">数目2</Tree> </Root> 代码: <%... 阅读全文
posted @ 2011-10-16 10:13 高捍得 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 函数的定义方式:函数语句声明法和函数表达式声明法。 1.函数语句定义法 function texts(num1:int,num2:int):int { return num1+num2; } 2.函数表达式定义法 var textAdd:Function=function(num1:in... 阅读全文
posted @ 2011-09-28 13:36 高捍得 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 本笔记只为记录个人学习历程,和一些刚开始学AS3的盆友分享本人的学习内容和经验。高手勿笑首先看一下 AS3中的数据类型 基元数据类型:Boolean ,int ,Number ,uint ,String 复杂数据类型:Array ,Date ,Error ,Function ,RegExp ,XML,XMLList,自定义的类 变量 变量的声明: var 变量名:数据类型; //声明变量未赋值,将使用默认值 var 变量名:数据类型=值; ----------------------------------------------- ... 阅读全文
posted @ 2011-09-26 14:42 高捍得 阅读(218) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17