views:

532

answers:

2

I'm having a small project in Actionscript 3, and everything would be very much easier if it was possible to call code in the superclass from the subclass.

This is the project:

CarGame
        Car

is it possible to call a function in the CarGame class from the Car class?

+1  A: 

See the super statement.

outis
+2  A: 

You'd call them with the super statement.

Such as:

super.someFunction();
MrKishi