Customizing AutoCompleter using the Component Inspector
 


You can customize the AutoCompleter Component using the Component Inspector. To find the Component Inspector in Flash go to the menu: Window > Development panels > Component Inspector or if using Flash 8 select: Window > Component Inspector.

The following is a list of all the properties you can change in the Component Inspector.

Parameter Sample value Default value Description
Minimum Number Of Letters For Autocompleting 2 1 Defines the minimum number of letters printed in text field, after which prompting rising
Case Sensitivity true false Defines whether AutoCompleter will be case-sensitive or not
Data Provider [apple, take, application, Canada, philosophy] [] Array of data, which AutoCompleter will take information from
Frame Background Color #F0F0F0 #FFFFFF Background color for prompting frame
Text Background Color #FF00FF #82FE81 Background color for prompting rows
Text Color #00FF00 #000000 Color of font in prompting rows
Instance Name textField input_txt

Defines the instance name of a TextField which AutoCompleter will operate with

Text Font Verdana _sans Font name in prompting rows
Text Style CSS css/flashstyle.css no Defines the css style that will be applied for font in prompting rows. If the value is "no" than css will not be applied
Text Style {size:14,bold:true,italic:false} {size:12,bold:false,italic:false} Defines the font style of promting rows
Frame Style {width:80,
spaceBeetweenItems:5,
leftIndent:7,
heightOfRow:16,
maximumNumberOfVisibleRows:4}
{width:100,
spaceBeetweenItems:4,
leftIndent:5,
heightOfRow:15,
maximumNumberOfVisibleRows:6}
Defines the prompting frame style.

Overview Page Previous Page Next Page