Join Todd Perkins for an in-depth discussion in this video Creating interfaces, part of Flash CS4 Professional: Object-Oriented Programming .
In this movie, we are going to look at creating interfaces. Interfaces are…basically a list of methods. The power of interfaces comes when multiple…classes implement an interface and have the methods defined in the interface.…You can really see how powerful interfaces are when you use an interface as a…data type requirement for a function or a method. We will look at that in more…detail in a later movie. For now, we will just create a basic interface.…
To create an interface, you start it out just like a class. So use the word…package, then some curly braces, and then public and instead of class use the…keyword interface and then I'm going to call this ISpeech, which is the same…name as my file. ISpeech interfaces by convention all start with a capital I…and then a capital letter that defines the interface, and then some curly braces.…This interface is going to be applicable for different types of classes that…could be possibly unrelated. Think of a person, a cat and a dog. All of them…
- 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.