1 /** 2 * com.sekati.display.LiquidWClip 3 * @version 1.0.5 4 * @author jason m horwitz | sekati.com | tendercreative.com 5 * Copyright (C) 2007 jason m horwitz, Sekat LLC. All Rights Reserved. 6 * Released under the MIT License: http://www.opensource.org/licenses/mit-license.php 7 */ 8 9 import com.sekati.display.LiquidClip; 10 11 /** 12 * LiquidWClip - scale clip to Stage.width 13 */ 14 class com.sekati.display.LiquidWClip extends LiquidClip { 15 16 private var _liquid:MovieClip; 17 18 /** 19 * Constructor 20 */ 21 public function LiquidWClip() { 22 super( ); 23 _liquid = _this; 24 } 25 26 /** 27 * Scales ({@code _liquid = this; // default can be overriden by subclass}) to Stage.width. 28 * @return Void 29 */ 30 public function _onResize():Void { 31 _liquid._width = Stage.width; 32 } 33 }