Show
Ignore:
Timestamp:
06/07/08 07:17:23 (18 months ago)
Author:
jeroen
Message:

fixed media display, rollovers and sliders

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/as3/com/jeroenwijering/models/HTTPModel.as

    r3 r5  
    108108                        } 
    109109                } else { 
    110                         url = model.config["streamscript"]+"?file="+url+'&start='+offset; 
     110                        if(model.config["streamscript"].indexOf('?') > -1) {  
     111                                url = model.config["streamscript"]+"&file="+url+'&start='+offset; 
     112                        } else { 
     113                                url = model.config["streamscript"]+"?file="+url+'&start='+offset; 
     114                        } 
    111115                } 
    112116                url += '&width='+model.config['width']; 
    113117                url += '&client='+encodeURI(model.config['client']); 
    114                 trace(url); 
     118                url += '&version='+encodeURI(model.config['version']); 
    115119                stream.play(url); 
    116120                clearInterval(loadinterval);