Changeset 1710


Ignore:
Timestamp:
04/06/11 18:14:58 (2 years ago)
Author:
phil
Message:

Updating Related

  • removing excess logging and unused functions
  • adding missing assets
Location:
plugins/related/v5
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/related/v5/src/com/longtailvideo/plugins/related/Related.as

    r1709 r1710  
    167167 
    168168                private function showOverlay():void { 
    169                         log("Showing overlay"); 
    170169                        resize(pluginConfig['width'], pluginConfig['height']); 
    171  
    172170                        if (this.background) this.background.visible = true; 
    173171            if (this.layout && this.layout.display) this.layout.display.visible = true; 
     
    181179 
    182180                private function toggleOverlay():void { 
    183                         log("Toggle overlay"); 
    184181                        if (this.background.visible) { 
    185182                                hideOverlay(); 
     
    214211                                var tile:IOverlayTile = evt.currentTarget as IOverlayTile; 
    215212                                if (this.useredirect == true) { 
    216                                         log("Redirecting to " + tile.link); 
    217213                                        if (tile.link) { 
    218214                                                var request:URLRequest = new URLRequest(tile.link); 
     
    245241        public function mediaCompleteHandler(evt:MediaEvent):void { 
    246242                        if (this.oncomplete == true) { 
    247                                 log("Media complete;"); 
    248243                                showOverlay(); 
    249244                        } 
     
    318313                }; 
    319314 
    320         /** Grab the page URL with some javascript magic. **/ 
    321         private function getPageURL():void { 
    322             if(ExternalInterface.available) { 
    323                 try { 
    324                     //_pageURL = ExternalInterface.call("function(){return window.location.href;}"); 
    325                 } catch (err:Error) { 
    326                                 } 
    327             } 
    328         }; 
    329  
    330315    } 
    331316} 
Note: See TracChangeset for help on using the changeset viewer.