Integrating Intervals
Creating our cat class. Our cat class is inherited from the Animal class. In this sample we will create a small animation with more user interactive features. Our cat does not like getting pet each time we pet our cat he will get more and more aggravated.
Ready to Level Up Your Skills?
Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!
Enroll Now for Free!Intro
we will create together updates to two of our visual inherited objects. explore with us how to work with visual inheritance.
04:01
Overriding built in methods
Not only methods we create yourself can be overridden. Actually built in methods can be overridden as well. In this example we will show you how to override the play and stop methods of the movieclip.
09:41
Integrating Intervals
Working with time in as3 as part of our inheritance practice.
06:20
Touchable
Before we can create a polymorphism we need to create a seperate class that isn't in our inheritance line
08:01
Hidden feature addFrameScript
An undocumented method for movieclips addFrameScript enables us to add frame script.
09:12
The is Operator
The is operator enables us to check and see if an object is a Object type.
03:08
Our first Interface
The steps involved to create an interface are very easy. The most important thing to understand is what an interface actually is.
04:52
implements
Learn how to tell a class to implement an interface i AS3. In the last video we created an interface and in this one we will define what objects are a type of that interface and what are not.
03:50
Polymorphism in action
With our classes implementing the ITouchable interface its time for us to create together the first time together a Polymorphism.
02:25