flash中读取XML问题[FLASH AS 部分]
来源:互联网 发布:c语言对比字符串 编辑:程序博客网 时间:2024/06/05 21:56
var ts:XML = new XML();
ts.load("xml.xml");
ts.ignoreWhite = true;
ts.onLoad = function(good:Boolean) {
if (good) {
//_root.txt.text = ts.firstChild.childNodes[0].firstChild.firstChild.nodeValue
trace(ts.firstChild.childNodes[1].firstChild.nodeValue )
_root.txt.text = ts.childNodes[1].firstChild.firstChild.nodeValue
}
};
//这是FLASH里AS部分,为了读取XML的MATOKU字段名
ts.load("xml.xml");
ts.ignoreWhite = true;
ts.onLoad = function(good:Boolean) {
if (good) {
//_root.txt.text = ts.firstChild.childNodes[0].firstChild.firstChild.nodeValue
trace(ts.firstChild.childNodes[1].firstChild.nodeValue )
_root.txt.text = ts.childNodes[1].firstChild.firstChild.nodeValue
}
};
//这是FLASH里AS部分,为了读取XML的MATOKU字段名
- flash中读取XML问题[FLASH AS 部分]
- flash中 读取XML的问题[xml部分]
- jsp中flash读取xml路径问题
- as读取xml文件到flash
- flash读取XML
- flash读取xml文件
- Flash读取XML
- flash读取xml文件
- flash as3读取xml
- flash读取XML文件
- flash读取xml文件
- flash as3读取xml
- 网页中引用flash,flash引用xml路径问题
- 网页中引用flash,flash引用xml路径问题
- FLASH读取XML中的内容
- flash读取xml简明实例教程
- flash读取XML格式数据
- flash读取xml中文乱码
- [C++]实验五:掌握类的声明和对象的定义
- 2006年1月21日~22日 星期六~星期天 阴
- RSM视图的粒度机制
- [翻译] Effective C++, 3rd Edition, Chapter 4. Designs(设计)和 Declarations(声明)
- flash中 读取XML的问题[xml部分]
- flash中读取XML问题[FLASH AS 部分]
- [C++]实验六:类的静态成员的使用、多文件结构在C++程序中的使用
- PI后面1000000位,吓死人了
- flash 中delete妙用
- [C++]实验七:类的对象成员的使用、复制构造函数的使用
- [C++]实验八:学习类的聚集使用方法
- [C++]实验十一:通过定义一个循环链表类和Josephus类
- [C++]第一、二、三次作业
- [C++]第四次作业:引入类求解下列桌球城计费问题