Flash Playa
ActionScript 3 Design Patterns
So now I am spending my Saturday night reading all the past blog entries in these blogs. I like to live on the edge. One of the blog posts that caught my eye was about the Prototype pattern. Apparently this pattern allows you to clone a deep copy of an object. I know there are classes in AS 3.0 that already have a clone method. Like the Rectangle class and all the filter classes for example. But how about being able to clone a Shape that was drawn a specific way. Normally you have to create a new Shape and redraw the graphics. Being able to clone it would be very cool.
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=22d058b6-8609-4281-9046-65eb5338beb1)
0 comments:
Post a Comment