Dynamically Copy Object's


/ Published in: ActionScript 3
Save to your folder(s)

Use this to dynamically copy objects.


Copy this code and paste it in your HTML
  1. my copyFunction(value:Object):Object{
  2. var buffer:ByteArray = new ByteArray();
  3. buffer.writeObject(value);
  4. buffer.position = 0;
  5. var result:Object = buffer.readObject();
  6. return result;
  7. }

URL: http://blog.tyleregeto.com/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.