XML.load()

XML.load()是Flash Player 5引入的方法,用于从指定URL异步加载XML文档,更新XML对象内容。在Flash Player 7之前,加载的URL必须在同一超域;而从Flash Player 7开始,URL必须与SWF文件在同一域名。加载过程完成后,onLoad事件被调用,XML数据在完全下载后才会被解析。可以通过自定义事件处理器替换onLoad方法。
摘要由CSDN通过智能技术生成

XML.load()

Availability

Flash Player 5; behavior changed in Flash Player 7.

Usage
my_xml.load(url)
Parameters

url The URL where the XML document to be loaded is located. If the SWF file issuing this call is running in a web browser, url must be in the same domain as the SWF file; for details, see "Description," below.

Returns

Nothing.

Description

Method; loads an XML document from the specified URL, and replaces the contents of the specified XML object with the downloaded XML data. The URL is relative, and is called via HTTP. The load process is asynchronous; it does not finish immediately after the load() method is executed.

In SWF files running in a version of the p

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值