LzModeManager is currently implemented as a javascript object, e.g.,

var LzModeManager = new Object();

And methods are defined on it as properties. Then the platform-specific
methods are set in some
other files in platform/runtime/LzModeManager.xxx, e.g.,


LzModeManager.rawMouseEvent = function(me) {
    this.handleMouseEvent( null , me );
}

LzModeManager.handleMouseButton = function(view, eventName) {
    this.handleMouseEvent( view , eventName );
}

For SWF9, I had started to convert LzModeManager to be a class with static
methods,e.g.,

public class LzModeManager {

   static function makeModal ( view ) { etc...

I guess in order to make platform-specific extensions in separate files, I
ought to make a base abstract subclass, and then
have each runtime declare the actual LzModeManager class  in its
platform/runtime/... directory ?


-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to