问题
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