如果妳有个大的flash,怕用户在下载过程中就失去耐心 而不愿意看的话,就做一个小的flash来载入这个大flash,并且显示出进度条吧。
http://as3.iteye.com/blog/857252
亮点 :
第二种方法:双文件法(即加壳)
双文件方法,就是使用一个loader.swf加载一个main.swf(主swf文件)。通过这个加载过程来获取main.swf的加载进度。
具体方法:
1、在loader.as中
n new一个Loader实例 loader,并用load方法载入main.swf
n 在 loader.contentLoaderInfo上添加progress和complete侦听
n 在progress处理函数中更新textField,并在complete处理函数将loader.content添加到舞台
2、在main.as中
l 构建舞台内容
HxLauncher: Launch Android applications by voice commands