Chapter 5. Authoring an ActionScript 2.0 Class

 <  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  >  


Essential ActionScript 2.0
Essential ActionScript 2.0
ISBN: 0596006527
EAN: 2147483647
Year: 2004
Pages: 177
Authors: Colin Moock

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net