ADBRITE ads links
You are here: CodeIdol.com > Flash > Flash and XML: A Developer's Guide > Recursive
Flash and XML: A Developer's Guide
| Approach
This chapter highlights improved programming concepts. It focuses on event-driven code and recursion in the abstract, then as used in ActionScript and as applied to...
|
|
| Looking back at our general XML display code, we see that the problems with our current design are glaring. It is procedural in all the...
|
|
| The flaw here is obvious. The code works all right, but it is severely limited. It is hideously ugly code—far too redundant, too specific. There...
|
|
| is a programming technique where one function calls itself to iteratively process a problem (Figure 9.1).
Figure 9.1. Flowchart of the Recursive Process
RECURSION
If you don't get...
|
|
| First we streamline the shownode function. (This function is independent of the recursion but part of tightening up the code.) The function is renamed trace()....
|
|
| Our software can read an XML file, clean it up, and examine it in terrific detail. But Flash was not created to print messages to...
|
|
| We can quickly add interactivity to this picture by putting a button on the attribute counter (Figure 9.4). By pressing this button, the user moves...
|
|
| At this point we have a very generic XML node viewer. It is useful for browsing XML in a Flash environment. Furthermore, it was useful...
|
|
You are here: CodeIdol.com > Flash > Flash and XML: A Developer's Guide > Recursive
|
|
Related tags
Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......
|
|