topical media & game development 
  
 
 
 
 
  
    
    
  
actionscript-misc-SearchOptions.ax
actionscript-misc-SearchOptions.ax
[swf]
 
flex
  package {
    public class @ax-actionscript-misc-SearchOptions {
      public static const MATCH_EXACT:String      = "Exact";
      public static const MATCH_STARTSWITH:String = "StartsWith";
      public static const MATCH_CONTAINS:String   = "Contains";
  
      private var matchType:String;
      
      public function @ax-actionscript-misc-SearchOptions () {
        // Default to exact matching.
        setMatchType(@ax-actionscript-misc-SearchOptions.MATCH_EXACT);
      }
      
      public function getMatchType ():String {
        return matchType;
      }
      
      public function setMatchType (newMatchType:String):void {
        matchType = newMatchType;
      }
    }
  }
  
  
(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.