Overriding Behavior : Override : Class Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Class » Override »

 

Overriding Behavior


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var normalGull:Seagull = new Seagull();
        var quietGull:Seagull = new QuietSeagull();
        normalGull.squawk()//The seagull says 


Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Class
» Override