AS3 Preloader which loads itself, not an external swf

不想你离开。 提交于 2020-01-17 01:25:37

问题


How can I create a preloader which does this? I have seen many examples of code to load an external swf, but never something that loads itself.

Thanks for the help, this is driving me crazy...


回答1:


alternatively ... You can try FlashDevelop's Preloader template, makes it really easy




回答2:


It's really simple. First you need to move everything except the preloader off the first frame.

Everything else is basically the same as an external preloader - the only difference is that you're checking the current and total size of the current movie, rather than a separate one.



来源:https://stackoverflow.com/questions/2204843/as3-preloader-which-loads-itself-not-an-external-swf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!