02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Casting and DataTypes

Casting and datatypes go hand in hand and although we met this concept a few times since we started our training it was a good time to look at it one more time as using casting and data-types we are creating polymorphism. 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.

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