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

What is meant by vector graphic animation? What is the use of pre-loader?

0 Answers  


Tell me what are the features involved in updating a language?

0 Answers  


what is the key purpose of using layers in a timeline? : Adobe flash

0 Answers  


there are two text fields on stage both are having same properties but still one is coming blurred y and how could u resolve it?

6 Answers  


which items cannot be hidden from screen readers? : Adobe flash

0 Answers  


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

0 Answers  


tell the difference between indexed array and associative array? : Adobe flash

0 Answers  


Explain what are the data types supported by actionscript?

0 Answers  


which two statements about device fonts are true? : Adobe flash

0 Answers  


which methods can be used to determine if a microphone or a camera is installed on the users machine? : Adobe flash

0 Answers  


what is the function of trace? : Adobe flash

0 Answers  


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

0 Answers  


Categories