Changeset 1710
- Timestamp:
- 04/06/11 18:14:58 (2 years ago)
- Location:
- plugins/related/v5
- Files:
-
- 1 added
- 2 edited
-
assets/arial.ttf (added)
-
related.swf (modified) (previous)
-
src/com/longtailvideo/plugins/related/Related.as (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/related/v5/src/com/longtailvideo/plugins/related/Related.as
r1709 r1710 167 167 168 168 private function showOverlay():void { 169 log("Showing overlay");170 169 resize(pluginConfig['width'], pluginConfig['height']); 171 172 170 if (this.background) this.background.visible = true; 173 171 if (this.layout && this.layout.display) this.layout.display.visible = true; … … 181 179 182 180 private function toggleOverlay():void { 183 log("Toggle overlay");184 181 if (this.background.visible) { 185 182 hideOverlay(); … … 214 211 var tile:IOverlayTile = evt.currentTarget as IOverlayTile; 215 212 if (this.useredirect == true) { 216 log("Redirecting to " + tile.link);217 213 if (tile.link) { 218 214 var request:URLRequest = new URLRequest(tile.link); … … 245 241 public function mediaCompleteHandler(evt:MediaEvent):void { 246 242 if (this.oncomplete == true) { 247 log("Media complete;");248 243 showOverlay(); 249 244 } … … 318 313 }; 319 314 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 330 315 } 331 316 }
Note: See TracChangeset
for help on using the changeset viewer.
