AS3 Interface Inheritance
Lets learn the last thing we are about to learn in regarding interfaces in this title. This is the last thing you need to know about as3 interfaces that can become really helpful. Just as much as classes can extend other classes so can interfaces extend other interfaces. In this video we are going to show this in action how an interface and extend another interface and how it effects our code. All the core rules of inheritance in AS3 are applied to interfaces as well and as such this will be a short title. The good news is that our learning of inheritance in earlier titles made this a really easy task.
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!Casting and DataTypes
In this short video we talk more about why you would want to do this and the steps involved. We go into a few real world examples of where this could be come very useful.
02:27
Interface Errors
So far we created a Cat,Dog and even a cup of water they all where totally different elements but yet our main class know how to work with all of them and that will be our goal as well with our new el
06:20
Playing With Fire
We plan our Fire project that will have an interface
04:06
Animating a Fire
In this video we continue our project and add animation to our class.
15:59
Multiple Interfaces
Contrary to class inheritance we can have multiple interfaces.
13:31
AS3 Interface Inheritance
Interfaces can work with inheritance as well. In this secion of our learning we explore this concept and see it in action.
02:39
Vectors
Since Flash player 10 we can work with Vectors. Vectors are a smarter way to do arrays in AS3.
04:03
Conclusion
Why are interfaces so important?That is a really good question and I would add when do you want to use an as3 interface.
04:21