< Day Day Up > |
In Chapter 4 we studied the general anatomy of ActionScript 2.0 classes. In this chapter we'll put that theory into practice by authoring a real-world ActionScript 2.0 class named ImageViewer . The ImageViewer class creates an on-screen rectangular region for displaying a loaded JPEG image. We'll cover designing and coding the class itself, as well as using it in a Flash document. The ImageViewer source files discussed in this chapter are available for download at http:// moock .org/eas2/examples. |
< Day Day Up > |