MaxObject in javascript and outputing from other objects?

    Feb 23 2006 | 3:16 am
    i have defined a javascript class function named "jenga" with certain
    properties and methods.
    i have placed this class defining function in my so-called ali-js-
    tools.js which sits in the 'jsextensions' folder;
    i can therefore make a new "jenga" object from whatever js code i write;
    now, i would like one of the methods of my class "jenga" to output
    messages from an outlet of js object whose code created the "jenga"
    in java you can do this by using the "outlet" method of whatever
    MaxObject. but how do you do this in js?