Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the other way of using Inheritance in flash?

Answers were Sorted based on User's Feedback



what is the other way of using Inheritance in flash?..

Answer / kanu

this question is not related with visibility

other way of inheritance in AS1 is "prototype"

and in AS2 its interfaces

Is This Answer Correct ?    13 Yes 0 No

what is the other way of using Inheritance in flash?..

Answer / p.suman

Well, "prototype" in AS1 or in general used to defined
member function of a class outside its definition.

Interface classes provide pure virtual functions for the
concrete classes to implement on them resulting a greater
flexibility in reusable code.

In Flash the otherway of using inheritance is to use the
key word "Extends" , which will give the properties and
methods of a base class to its subclasses.

Ex:

class myMovie extends MovieClip{
public function myMovie(){
}
}

Here myMovie class derives all the available properties of
a MovieClip class.

Regards,
Suman.P
Module Lead

Is This Answer Correct ?    7 Yes 0 No

what is the other way of using Inheritance in flash?..

Answer / amitn

_visible=flase;

Is This Answer Correct ?    1 Yes 19 No

Post New Answer

More Flash Action Scripting Interview Questions

How to write a program to create custom list in actionscript?

0 Answers  


what is the purpose of the break statement? : Adobe flash

0 Answers  


Is it possible to create document or folder from flash? if yes then how?

6 Answers  


how does an xmlsocket server know when a received message is complete? : Adobe flash

0 Answers  


what is generally considered the ideal group size for usability testing? : Adobe flash

0 Answers  


when does the accessibility . Isactive () method return true? : Adobe flash

0 Answers  


the f601/n6006 had a special control to set the fill-flash option on the body; is there a similar way to set fill levels on the f90x/n90s and sb-28 combo? : Adobe flash

0 Answers  


How to play a movie clip?

0 Answers  


How to add event listeners in mxml components. Name the as3 components?

0 Answers  


what should be inferred by a variable named birthplace_str? : Adobe flash

0 Answers  


explain the correct way to create an alert box using geturl and javascript? : Adobe flash

0 Answers  


which is not a benefit when adding a title in the document properties? : Adobe flash

0 Answers  


Categories