topical media & game development

talk show tell print

actionscript-book-FilterWorkbench-flexapp-controls-TypeComboBox.ax

actionscript-book-FilterWorkbench-flexapp-controls-TypeComboBox.ax [swf] flex


  package 
  {
          import flash.filters.BitmapFilterType;
          
          import mx.controls.ComboBox;
  
          public class @ax-actionscript-book-FilterWorkbench-flexapp-controls-TypeComboBox extends ComboBox
          {
                  [Bindable]
                  private var _typeList:Array = 
                          [
                          {label:"Inner", data:BitmapFilterType.INNER},
                          {label:"Outer", data:BitmapFilterType.OUTER},
                          {label:"Full", data:BitmapFilterType.FULL}
                          ];
                          
                  
                  public function @ax-actionscript-book-FilterWorkbench-flexapp-controls-TypeComboBox()
                  {
                          super();
                          
                          width = 75;
                          dataProvider = _typeList;
                  }
          }
  }


(C) Æliens 27/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.