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

Extending Objects

In the chapter on building components, we learned how to use ActionScript to build component extensions for use in Flash. What if you could extend ActionScript itself?

ActionScript is amazingly powerful, in that it allows you to extend it well beyond its original capabilities. Let's imagine that you've been asked to consult on a project where sensitive data must be sent from a Flash client program to an Internet server. You've been told that the data that's transmitted must be encrypted. So you need to come up with a way in which user data can be encrypted prior to being transmitted to the server. In addition, you've been told that the project is large, involving several programmers and a lot of ActionScript code. You've been asked to build an encryption component that minimizes the amount of recoding that may be required on the project. Naturally, the project is well underway and you've been hired toward the tail end to implement a feature that no one thought was initially important. Time is of the essence. In the movie The Matrix, Morpheus tells Neo, “Welcome to the real world.”


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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