R – Can ActionScript and Flash handle complex dynamically-loaded modules and architectures

actionscript-3Architectureflashmodularity

I'm looking to start learning ActionScript and Flash to write a potentially very complex game engine. I come from a background in relatively advanced software architecture and as such am wondering if a few things (which I consider important for my engine) are possible with Flash:

  1. First, I want to modularize my game so that it can be both used as a component in other Flash projects, and itself extended with custom-written components to extend the engine itself.
  2. I want to be able to dynamically load these modules on the fly, and over the web so that the user need not download the entire (potentially large) game all at once, but rather only those pieces needed at a given time.
  3. I may need to store largish save-game files and intermediate files on the user's computer that may extend beyond the default allowed limit for Flash applications.
  4. I will probably need access to some kind of database for storing and retrieving game data. Does Flash support any kind of local data access?

The engine itself will be rather complex and abstract, involving potentially lots of classes and different kinds of attributes and capabilities. Will ActionScript be up to the task?

Best Answer

1 yes

2 yes

3,4 no, might want to look at adobe air , or consider other flash capabilities such as a colaboration server (blazeds, red5) that can handle all your users info instead of storing them on users machine

Related Topic