I'm not sure what this['constructor'].prototype.options will return in
swf9. I can try it with a small test case,
but maybe is there a way to do this
that doesn't need to use .prototype?
function $lzc$set_options(hash) {
// Ensure you have your own private options dictionary, not the one
// inherited from your class, nor the default empty one inherited
// from LzNode!
if (this.options === this['constructor'].prototype.options) {
this.options = new LzInheritedHash(this.options);
}
for (var key in hash) {
this.options[ key ] = hash[key];
}
}
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]