Multiple Inheritance in ActionScript 3? Is it possible? I have read somewhere that it is possible in as3.
If yes then how?
this is my Doucument Class A.as
package
{
import flash.display.MovieClip;
public class A extends MovieClip implements B
{
public var value1:Number=10;
public function A()
{
trace("A Class Constructor");
}
public function hit():void
{
trace(value1+' from hit');
}
}
}
Another is interface B.as
package
{
public interface B
{
trace(' interface ');
function hit():void;
}
}
Thanks in advance.
Multiple Implements