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

您现在的位置是:虫虫源码 > 其他 > 组合队列的超级易装载类替换

组合队列的超级易装载类替换

  • 资源大小:8.06 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 超级 组合 队列 替换

资 源 简 介

ActionScript3 PreLoader Class with queue We (Philipp and me) have been using the PreLoader class as a Loader replacement for years now to load asset content (swfs and images). The PreLoader has an integrated loader queue which allows one loading process at a time. It also has some convenient features like smoothing images when scaling them down. The PreLoader class is not a visual preloader! You as a developer still have to do the dirty work like listening for progress and complete events and react to them. However, you can concentrate on that work without all the (from our point) useless overhead like contentLoaderInfo and URLRequest. Example implementation: ``` var img:PreLoader = new PreLoader(); img.addEventListener(ProgressEvent.PROGRESS, _onImgProgress); img.addEventListener(Event.COMPLETE, _onImgLoaded); img.load("image1.jpg"); addChild(img); function _onImgProgre

文 件 列 表

com
apdevblog

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.258742s