-
c I don't understand. Why can objects declared by the base class call methods or properties in the derived class - you are wrong about this.
Attached is a paragraph ** to explain:
var obj:object=new object();
var mc:movieclip=new movieclip();
obj=mc;
trace (mc is object);//print true
trace(obj==mc);//print trur
trace(obj);//print [object movieclip]
First of all, you declare the MC, which is an instance of MovieClip, and the MC is also an instance of the object.
trace (mc is object);print true - can be proven.
Then you declare the obj, which is an instance of the object.
After you assign obj to mc, obj is mc, trace(obj==mc); print trur - can be proven.
MC is an instance of MovieClip, so you can imagine that OBJ is also an instance of MovieClip.
trace(obj);print [object movieclip] -- can be proven.
Therefore, when you use the MovieClip method and properties on the obj, you are actually using the MC. Therefore, your understanding is wrong.
-
The former + predicate + as + adjective (adverb) primary + as the latter.
means that the former is the same as the latter ... Note: The objects of comparison must be the same.
-
This is a basic usage that translates to and... The same.
-
As + Adverb Adjective + as forms the primary comparison, and the primary level of an adjective or adverb is used between as and as. Generally speaking, the verb before the first as is an adjective when it is a verb be, and an adverb when it is a substantive verb.
as...as...With so....
as...The meaning is the same, but only as can be used in affirmative sentences....as...
In a negative sentence, both as can be used....as...It is also possible to use so....
as...Special case a, so....astodo
sth (so. That. For example, heisso
strongasto
liftabigstone.
b、notso
much...as...It's a fixed structure, which translates to be: not so much. It's better to say. For example, he
wasnot
somuch
angryas
Hope the above explanation is useful to you.
-
AS+ Shape Vice-as....=so+ form sub-as(y. The same.
not in the form of a sub as....Not as good as that)
1. There is no difference between the two, and they are used in front of the noun component to indicate many, a large number; >>>More
Ask the master and don't give points.
In fact, grammar experts have at least two opinions after the ed tokenized adjectives such as be pleased, satisfied, worried, puzzled, etc., or that clauses after phrases such as be feared and be sure >>>More
As is a preposition here, meaning "to be".
Would like sth wants something. >>>More
The English word for grammar is grammar.
English [.]'r m (r)] beauty ['ræmər] >>>More
Just find a few random ones in the book For example: "Old Things in the South of the City" is a Taiwanese female writer ( ).