topical media & game development
actionscript-example-SearchOptions.ax
actionscript-example-SearchOptions.ax
(swf
)
[ flash
]
flex
package {
public class actionscript-example-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 actionscript-example-SearchOptions () {
// Default to exact matching.
setMatchType(actionscript-example-SearchOptions.MATCH_EXACT);
}
public function getMatchType ():String {
return matchType;
}
public function setMatchType (newMatchType:String):void {
matchType = newMatchType;
}
}
}
(C) Æliens
20/2/2008
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.