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

where is the data pulled by a load variables function stored? : Adobe flash

0 Answers  


what is the best reason for using the geturl command, instead of the fscommand, when communicating with the host application? : Adobe flash

0 Answers  


what is the effect on the instances of a symbol if the symbol itself is changed? : Adobe flash

0 Answers  


which two textfield events can be captured to trigger scripts to run? : Adobe flash

0 Answers  


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

0 Answers  


How to Communicate with JavaScript?

5 Answers  


Diffrence between AS2 and AS3 ?

2 Answers  


which keyword is used to attach methods and properties to a class? : Adobe flash

0 Answers  


the class that is inheriting the another is known as the? : Adobe flash

0 Answers  


Name the as3 components?

0 Answers  


What will replace flash in 2020?

0 Answers  


what is the downside of macromedia ui components making extensive use of ingeritance and encapsulation? : Adobe flash

0 Answers  


Categories