Changeset 85


Ignore:
Timestamp:
10/17/08 05:01:59 (5 years ago)
Author:
jeroen
Message:

annoying bug in playlist fixed

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/com/jeroenwijering/models/HTTPModel.as

    r81 r85  
    121121                url += '&client='+encodeURI(model.config['client']); 
    122122                url += '&version='+encodeURI(model.config['version']); 
     123                url += '&width='+model.config['width']; 
    123124                if(getToken()) { url += '&token='+getToken(); } 
    124125                stream.play(url); 
  • branches/4.2/com/jeroenwijering/player/Player.as

    r83 r85  
    6767                token:undefined, 
    6868                tracecall:undefined, 
    69                 version:'4.2.84' 
     69                version:'4.2.85' 
    7070        }; 
    7171        /** Reference to all stage graphics. **/ 
  • branches/4.2/com/jeroenwijering/player/SPLoader.as

    r81 r85  
    9292                        if(skn) {  
    9393                                ldr.load(new URLRequest(str),ctx); 
     94                        } else if (str.indexOf('http://') == 0) { 
     95                                ldr.load(new URLRequest(str),ctx); 
    9496                        } else { 
    9597                                ldr.load(new URLRequest(basedir+str),ctx); 
  • branches/4.2/com/jeroenwijering/plugins/Playlist.as

    r83 r85  
    5050        public function initializePlugin(vie:AbstractView):void { 
    5151                view = vie; 
    52                 if(view.config['playlist'] == 'none') { return; }1 
    5352                view.addControllerListener(ControllerEvent.ITEM,itemHandler); 
    5453                view.addControllerListener(ControllerEvent.PLAYLIST,playlistHandler); 
     
    324323                                if(view.playlist[idx][itm] > 0) { 
    325324                                        buttons[idx].c[itm].text = Strings.digits(view.playlist[idx][itm]); 
    326                                         if(buttons[idx].c['back']) {  
     325                                        if(front) {  
    327326                                                buttons[idx].c[itm].textColor = front.color; 
    328327                                        } 
     
    334333                                        buttons[idx].c[itm].text = view.playlist[idx][itm]; 
    335334                                } 
    336                                 if(buttons[idx].c['back']) { 
     335                                if(front) { 
    337336                                        buttons[idx].c[itm].textColor = front.color; 
    338337                                } 
Note: See TracChangeset for help on using the changeset viewer.