Join Todd Perkins for an in-depth discussion in this video Setting up properties and methods, part of Flash CS4 Professional: Object-Oriented Programming .
In this movie, we will set up some properties and methods for our slideshow…view class. The first thing that we are going to do is create some more…properties above the Container property that we already created. I'm going to…create a private property called Loader. That's going to be an instance of the…Loader class. We won't give it a value yet. We will just declare it.…Create another private property called bmp. That's going to be a bitmap image.…The Loader is going to be the object that does all the loading of all the files.…The Bitmap object is basically going to hold copied bitmap data from the Loader…object and fade that out when the user picks a new slide to look at. The way…that it will be organized is that there is only one loader instance loading the…file and one bitmap image.…
One of the alternatives is to create a new loader instance every time we load a file, …but that can create a memory issue. This way, we have one loader instance…and one bitmap and the application is optimized. We will look at more about how…
- Loading external text, images, and XML files
- Creating essential properties for a View class
- Defining a Model class
- Building and implementing interfaces and designs
- Debugging projects
- Building applications with Controller-class buttons
Skill Level Intermediate
1. ActionScript 3.0 Essentials
2. Advanced ActionScript Techniques
3. Object-Oriented Programming Fundamentals
4. The Model View Controller Design Pattern
5. Building a Model Class
6. Building a View Class
7. Building a Controller Class
8. Improving and Debugging the Application
9. Moving Forward
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.