- Timestamp:
- 07/01/09 09:33:24 (8 months ago)
- Location:
- tags/mediaplayer-4.5
- Files:
-
- 2 modified
-
com/jeroenwijering/player/SPLoader.as (modified) (2 diffs)
-
player.swf (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
tags/mediaplayer-4.5/com/jeroenwijering/player/SPLoader.as
r232 r233 157 157 if(str.substr(-4) == '.swf') { str = str.substr(0, str.length-4); } 158 158 var ldr:Loader = new Loader(); 159 if(skn || str.indexOf('/') > -1) {159 if(skn) { 160 160 ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,skinError); 161 161 ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,skinHandler); … … 168 168 if(skin.loaderInfo.url.indexOf('http') == 0) { 169 169 var ctx:LoaderContext = new LoaderContext(true,ApplicationDomain.currentDomain,SecurityDomain.currentDomain); 170 if(skn ) {170 if(skn || str.indexOf('/') > -1) { 171 171 ldr.load(new URLRequest(str),ctx); 172 172 } else {
