1 /** 2 * com.sekati.display.AbstractClip 3 * @version 1.0.7 4 * @author jason m horwitz | sekati.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.CoreClip; 10 11 /** 12 * Generic subclass implementation of {@link com.sekati.display.CoreClip} mixin. 13 * To be used as template for all framework based extend movieclip UI classes. 14 */ 15 class com.sekati.display.AbstractClip extends CoreClip { 16 17 /** 18 * private constructor; class is initialized via the MovieClip.onLoad event. 19 */ 20 private function AbstractClip() { 21 } 22 23 /** 24 * overrides CoreClip.configUI with its own intialization behavior once clip is loaded, registered on stage. 25 * @return Void 26 */ 27 private function configUI():Void { 28 trace( toString( ) + " | " + _this._name + " [cacheAsBitmap:" + _this.cacheAsBitmap + ", __RUID:" + _this.__RUID + "]" ); 29 } 30 31 /** 32 * calls superclasses destroy and executes its own destroy behaviors. 33 * @return Void 34 */ 35 private function destroy():Void { 36 trace( toString( ) + " | " + _this._name + " called destroy()" ); 37 super.destroy( ); 38 } 39 }