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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the key difference between while loops and do while loops? : Adobe flash

978


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

900


what is the primary difference between the xml.sendandload method and the xml.load method? : Adobe flash

816


which two are symbol options when converting an object into a symbol? : Adobe flash

1156


Do you know what are the different primitive data types used in actionscript?

845


which of the following is not a guideline for conducting effective usability testing? : Adobe flash

908


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

943


who can create flash movies? : Adobe flash

856


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

880


How to create scrolling gallery in portfolio?

867


What are the functions used with flash media?

903


Explain what are the features provided by actionscript 3.0?

826


it seems that most recommendations for using fill flash talk about using -1.3 to -1.7 stops of flash compensation. This seems like very little flash (compared to the ambient exposure). Would not -.5 or -1 stop be better? : Adobe flash

902


Do you know what are the ways in which actionscript's code can be protected?

896


explain the flash vs. Animated images and java applets? : Adobe flash

908