Hello,

seems trivialo, but is there a simpler way to compare two identically formed objects than recursively compare their props (and types and values of their props)?

var obj1:Object = {a:0,b:"1",c:[0,1,2],d:[{x:0,y:10},{x:10,y:0}]}
var obj2:Object = {a:0,b:"1",c:[0,1,2],d:[{x:0,y:10},{x:10,y:0}]}
trace (obj1==obj2) returns false...

Thanx,

Gilles

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to