AS3 | Programming

Setting private property values of a cloned ActionScript 3 object

Sometimes when cloning an object it is desirable to set a private or read-only property on the clone. Since these properties aren’t writable from outside the class itself, how can their values be changed? Drawing from the ideas of Grant Skinner’s post on Singletons the same internal class technique can be used to set properties [...]

Read the rest of this entry...