1

オブジェクトを印刷しようとすると、単に逆に印刷されます。

コード:

var marcos:Object = new Object();

marcos.nome = "Marcos";
marcos.ano = 19;

for (var prop in marcos)
{
trace(prop + ":" + " " + marcos[prop]);
}

出力:

ano: 19 nome: マルコス

I had search in the adobe documentation about object and for each but nothing seems ot explain that. When i try to put more elements the object simply get randomic orders, i really dont know what's going on, if someone could help me i would be grateful.

4

1 に答える 1