   {
     var prop = all[i];
 
+    if (typeof (o[prop]) == "undefined") {
+      ASSetPropFlags (o, prop, 0, 5248);
+      if (typeof (o[prop]) != "undefined") {
+	set_info (info, prop, "newer", true);
+	// don't set the flags back
+      } else {
+	set_info (info, prop, "newer", false);
+      }
+    } else {
+      set_info (info, prop, "newer", false);
+    }
+  }
+
+  for (var i = 0; i < all.length; i++)
+  {
+    var prop = all[i];
+
     // try changing value
     var old = o[prop];
     var val = "hello " + o[prop];

    if (get_info (info, prop, "not6") == true) {
      flags += "6";
    }
    if (flags != "")
      flags = " (" + flags + ")";


	  identifier + "." + prop;
      }
    }

    if (newer == true)
      ASSetPropFlags (o, prop, 5248);
  }

  for (var i = 0; i < all.length; i++) {
    var prop = all[i];

    if (prop != null) {
      var newer = false;

      if (typeof (o[prop]) == "undefined") {
	ASSetPropFlags (o, prop, 0, 5248);
	if (typeof (o[prop]) != "undefined")
	  newer = true;
      }

      if (typeof (o[prop]) == "object" || typeof (o[prop]) == "function")
	generate_names (o[prop], prefix + (prefix != "" ? "." : "") +
	    identifier, prop);

      if (newer == true)
	ASSetPropFlags (o, prop, 5248);
    }
  }
}
