0

So the easiest way to preload in as3 would be to use an external .swf to load the main .swf. Since I will be distributing my game around the internet I can only use one .swf. What would be the best way to do this? Can I still use the external method but somehow combine the finished product into one .swf?

4

2 回答 2

0

不幸的是,如果您希望所有内容都包含在一个 SWF 文件中,则无法同时预加载您的游戏。

但是,如果您在某个地方有服务器空间,那么您可以创建一个预加载器来加载游戏的实际内容。

于 2009-07-29T17:22:52.943 回答
0

How are you going to be distributing the game around the 'net? The easiest way would be to distribute the loader SWF and then keep the game SWF central to a single location somewhere on a server you control.

You get two benefits:

  1. Less to distribute (the loader SWF is a cinch to hand out...and there's no real configuration needed).

  2. One central location to update your game. That will ensure that everybody playing will be playing the latest version.

于 2009-07-29T16:37:03.893 回答