Feb 10, 2009
Easy deep clone method for ActionScript 3.0
Posted by Dennis in ActionScript, Flash, Flex • 5 commentsUPDATE: I’ve made this made more flexible. Read this.
I stumbled upon this method via the ActionScript 3 Design patterns blog. This method is commonly used in Java to make a deep copy of an object. I tried the example but couldn’t get it to work. When I casted bytes.readObject() it always returned null. I found [...]



