In LzView, there is this declaration

    var capabilities = LzSprite.prototype.capabilities;

In swf9, I have "capabilities' declared as a static class var

      public static var capabilities:* = { ...}

So I would reference it as LzSprite.capabilities.

In swf and dhtml kernels, LzSprite is defined as a javascript object with
properties stuck on it's
prototype:
    LzSprite.prototype.capabilities = {....}

How should I reconcile these two different mechanism to get this value? I am
currently doing this
in LzView:
if ($swf9) {
    var capabilities = LzSprite.capabilities;
} else
    var capabilities = LzSprite.prototype.capabilities;
}




So what is the best way to

-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to