[Laszlo-dev] implementing addProperty on LzNode
Henry Minsky
henry.minsky at gmail.com
Tue Jan 8 06:26:11 PST 2008
The (Laszlo) Class.addProperty method is used by LzNode to install
methods dynamically.
I've got it implemented just as
function addProperty(key:*,val:*):void {
this[key] = val;
}
in the LzNode swf9 development world right now. Is there anything
else we need to when adding functions at runtime that refer to
superclass methods (or "super()" )
or will that "just work"?
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list