Is it possible to embed or load SWFs when making iphone apps (Is it allowed by Apple)

前端 未结 3 1633
生来不讨喜
生来不讨喜 2021-01-01 05:02

I am a little confused on whether to embed swfs or load them when making apps for the iphone. Does anyone know what are the advantages of each (which is preferable to use)?

3条回答
  •  情深已故
    2021-01-01 05:14

    I'm not familiar with the rules around Apple and iPhone apps, but generally when I make apps/games, I embed everything. The advantages:

    • Your game/app is in one swf, making it easy to share
    • Your game/app loads quicker as all the assets are there at load-time
    • You're not dependant on internet access to get your assets (if you're loading them from a site) - good for an app
    • Your game/app will "just work" - no security issues, no problems with urls changing/asset site going down (if they're external)
    • If you use a swc instead of an swf (an swc can also be loaded btw), then you can also benefit from strict-typing

    The disadvantages:

    • If you need to update one of your assets, you need to republish the game/app

提交回复
热议问题