Posted By

martin9999uk on 01/10/11


Tagged

object replace compare as3


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

chus
kure69


Compare and replace within objects


 / Published in: ActionScript 3
 

  1. for (var prop:String in o)
  2. {
  3. if (data[prop] != undefined) {
  4. data[prop] = o[prop];
  5. trace("data prop " + data[prop]);
  6. trace("o prop " + o[prop]);
  7. }
  8.  
  9. }

Report this snippet  

You need to login to post a comment.