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 many levels does flash mx support? : Adobe flash

0 Answers  


what is the primary purpose of the stage object? : Adobe flash

0 Answers  


can any one tell good training center for adobe flex in chennnai?

0 Answers  


What are the data types supported by actionscript?

0 Answers  


How to start a graphic animation at a specific frame?

0 Answers  






can flash .swf movies be very time consuming to edit? : Adobe flash

0 Answers  


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

0 Answers  


How to add event listeners in mxml components.

0 Answers  


in general, non-mp3 digital audio destined to be imported into the flash mx authoring environment should first be compressed how much? : Adobe flash

0 Answers  


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

0 Answers  


which two panels can be used to change the label text of a button component? : Adobe flash

0 Answers  


How we can create a scrolling gallary in a portfolio,what is the script?

2 Answers  


Categories