首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > urlutils

urlutils

  • 资源大小:13.57 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: UrlUtils

资 源 简 介

UrlUtils - AS3 Url Util swc This is a collection of time saving classes all based around external url events. Please view source for complete asdocs. Functions featured are: Return an Object (swf, jpg, gif etc) ``` private function loadObject():void { MovieClip(object) = URLUtils.returnObject("url"); object.addEventListener(URLUtilsEvent.OBJECT_LOADED, objectLoaded); } private function objectLoaded(e:URLUtilsEvent):void { this.addChild(object); } ``` Return JSON ``` private function loadJSON():void { JSONLoader(json) = URLUtils.returnJSON("url"); json.addEventListener(URLUtilsEvent.JSON_LOADED, jsonLoaded); } private function jsonLoaded(e:URLUtilsEvent):void { trace(json.jsonObject); } ``` Return XML ``` private function loadXML():void { XMLLoader(xml) = URLUtils.returnXML("url"); xml.addEventListener(URLUtilsEvent.XML_LOADED, xmlLoaded); }

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.222607s