• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. More ActionScript: Data-Drive... > Dynamic Creation of Graphics

Dynamic Creation of Graphics

As data drives the content of this game, we want it also to start driving the game's graphic format. The most rigid feature, at the moment, is the predefined set of four AnswerOptions. The best way to make it more flexible is to spawn AnswerOption instances as they are needed.

Flash has a mechanism for saving prototypes of MovieClips and then instantiating them from within a running application. (The prototypes can even reside on a remote server and be accessed by URL!)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint