Changeset 227


Ignore:
Timestamp:
06/29/09 08:49:30 (4 years ago)
Author:
jeroen
Message:

made the tracecall flashvar work with the new debug object

Location:
trunk/as3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/as3/com/jeroenwijering/player/Player.as

    r226 r227  
    6969                id:undefined, 
    7070                plugins:undefined, 
    71                 version:'4.5.224' 
     71                version:'4.5.227' 
    7272        }; 
    7373        /** Reference to all stage graphics. **/ 
     
    111111        /** When config is loaded, the player laods the skin. **/ 
    112112        protected function loadSkin(evt:Event=null):void { 
    113                 Logger.output = config['debug']; 
     113                if(config['tracecall']) { 
     114                        Logger.output = config['tracecall']; 
     115                } else {  
     116                        Logger.output = config['debug']; 
     117                } 
    114118                sploader = new SPLoader(this); 
    115119                sploader.addEventListener(SPLoaderEvent.SKIN,loadMVC); 
  • trunk/as3/com/jeroenwijering/plugins/Controlbar.as

    r220 r227  
    179179                } catch (err:Error) {} 
    180180                try { 
    181                         if(view.playlist && view.playlist[view.config['item']]['link']) { 
     181                        if(view.playlist && view.playlist[view.config['item']]['link'] && !view.getPlugin('sharing')) { 
    182182                                clip.linkButton.visible = true; 
    183183                        } else {  
  • trunk/as3/com/jeroenwijering/utils/Logger.as

    r217 r227  
    4545        * 
    4646        * @param message        The message to send forward. Arrays and objects are automatically chopped up. 
    47         * @param type           The type of message; is capitalized and precedes the message. 
     47        * @param type           The type of message; is capitalized and encapsulates the message. 
    4848        **/ 
    4949        public static function log(message:*,type:String="log"):void { 
     
    8787                                trace(text); 
    8888                                break; 
     89                        case NONE: 
     90                                break; 
    8991                        default: 
     92                                ExternalInterface.call(Logger.output,text); 
    9093                                break; 
    9194                } 
Note: See TracChangeset for help on using the changeset viewer.