Show
Ignore:
Timestamp:
06/20/08 00:24:59 (17 months ago)
Author:
jeroen
Message:

fixes in javascripting and playlist reloading

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/as3/com/jeroenwijering/views/ExternalView.as

    r3 r14  
    6969 
    7070        /** Manage subscriptions of events. **/ 
    71         public function addControllerListener(typ:String,fcn:String):Boolean { 
    72                 listeners.push({target:'CONTROLLER',type:typ.toUpperCase(),callee:fcn}); 
     71        public function addControllerListener(typ:String,fcn:Object):Boolean { 
     72                listeners.push({target:'CONTROLLER',type:typ.toUpperCase(),callee:String(fcn)}); 
    7373                return true; 
    7474        }; 
    7575        public function addModelListener(typ:String,fcn:String):Boolean { 
    76                 listeners.push({target:'MODEL',type:typ.toUpperCase(),callee:fcn}); 
     76                listeners.push({target:'MODEL',type:typ.toUpperCase(),callee:String(fcn)}); 
    7777                return true; 
    7878        }; 
    7979        public function addViewListener(typ:String,fcn:String):Boolean { 
    80                 listeners.push({target:'VIEW',type:typ.toUpperCase(),callee:fcn}); 
     80                listeners.push({target:'VIEW',type:typ.toUpperCase(),callee:String(fcn)}); 
    8181                return true; 
    8282        };