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

Summary

Wow, each chapter is more fun than the last! Perhaps the best part of this chapter was that we got to apply our previous knowledge to more practical maneuvers. This was our first introduction to an object other than the all-to-familiar Movie Clip object: the String object. In the past, we played with the Math and Number objects a bit—but those are a bit different because they’re not much more than a suite of functions. That is, you always begin with Math. or Number. The String object is different because the methods operate on specific instances of strings (just like the Movie Clip methods).

Perhaps the String object is a bit unique because there’s no “instantiation” step with strings, which, as you’ll see, is required with other objects. In any event, it’s still a good object because some powerful and useful methods are available. Using any string value as the object gives you access to some very fancy methods. Extracting substrings and changing case are just a couple things you can do to strings. If this isn’t fun, I don’t know what is!


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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