Syntax issues in AS3 0

Updated on educate 2024-04-03
5 answers
  1. Anonymous users2024-02-07

    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.

  2. Anonymous users2024-02-06

    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.

  3. Anonymous users2024-02-05

    This is a basic usage that translates to and... The same.

  4. Anonymous users2024-02-04

    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.

  5. Anonymous users2024-02-03

    AS+ Shape Vice-as....=so+ form sub-as(y. The same.

    not in the form of a sub as....Not as good as that)

Related questions
7 answers2024-04-03

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

7 answers2024-04-03

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

5 answers2024-04-03

As is a preposition here, meaning "to be".

Would like sth wants something. >>>More

5 answers2024-04-03

The English word for grammar is grammar.

English [.]'r m (r)] beauty ['ræmər] >>>More

8 answers2024-04-03

Just find a few random ones in the book For example: "Old Things in the South of the City" is a Taiwanese female writer ( ).