Join Todd Perkins for an in-depth discussion in this video Working with packages, part of Flash CS4 Professional: Object-Oriented Programming .
- View Offline
- Exercise Files
In this movie we are going to talk about something called packages. Packages…are a way to keep class files organized. If you don't have the exercise files,…you can just use any class file for this exercise and that will work.…So what I'm going to do is remove this SimpleClass3 file, I'm going to put it…somewhere else. So let's just put it on the Desktop for a temporary place and…then I'm going to go in a folder called com.…Now if you don't have the exercise files, make this com folder in the same…folder as the FLA file that we will be using in this exercise. So I have the…com folder and then inside of there I have the lynda folder. I'm just going to…drop SimpleClass3 into that folder.…
As I said earlier, packages keep your classes organized. Rather than having a…bunch of classes floating around, you can organize your classes into different…folders. These folders can be based on the purposes of the classes.…So you can have an interactive package with all classes that are related to…interactivity. One of the most common ways to organize classes is this com…
- 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.