O'Reilly logo

Real-World Flash Game Development, 2nd Edition by Christopher Griffith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10

XML AND DYNAMIC CONTENT

CHAPTER OUTLINE

Bringing Data In: Understanding the URLLoader Class

XML

E4X

Crossword Puzzle

The CrosswordTile Class

The CrosswordClue Class

The CrosswordPuzzle Class

Content Is a Two-Way Street: A Crossword Builder

Sending Data Back Out

One More Example: XML versus Flash Vars

Summary

Many Flash games are self-contained SWF files. They don’t load any additional files in, and they don’t send any type of data out. However, this closed architecture prohibits a number of scenarios such as

•   Externalized content (such as a puzzle data or even a game copy)

•   The ability to save to a public high-score table

•   Localization to other languages

•   Level editors and user-generated content

In this chapter, we’ll explore how ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required