Join Todd Perkins for an in-depth discussion in this video Understanding and using class paths, part of Flash CS4 Professional: Object-Oriented Programming .
When you are working with classes in ActionScript 3.0, you are going to build…class libraries. In other words, you don't want to have to create the same class…a whole bunch of times or go looking for it in some random folder every time…you want to use a class.…For that reason the best practice is to put all of your classes in a central…location on your computer. In this movie we are going to look at how to tell…Flash to look for a particular folder to find classes. That way you don't have…to keep all of your classes in the some folder as your FLA file when you are…working on the project.…
The folder that I have my classes in is in the Chapter 1 folder and it's called…class_path. In there I have that com folder structure and there is one class…called SimpleClass4 in there. Let's just imagine that I have a whole bunch of…classes in here and this is where I happen to keep all of the classes that…I work on my computer in this class_path folder.…Now just as a note, obviously you don't want to keep all of your classes on…
- 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?
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.