F
> FStyleFormat.addListener
FStyleFormat.addListener
FStyleFormat, FStyleFormat.addListener, addListener
Dostępność
Flash Player 6.
Użycie
myStyleFormat.addListener(component1 [, component2, ...componentN])
Parametry
component1 ... componentN The component instances to register to myStyleFormat.
Zwraca
Nic.
Opis
Method; registers the specified components to myStyleFormat. Use this method to register instances of Flash UI components or custom components to a custom style format. You can also use this method with the following syntax to register a custom component to the global style format used by all Flash UI components by default:
globalStyleFormat.addListener(customComponent);
Przykład
The following code registers formStyleFormat with the components myListBox, myComboBox, and myScrollBar.
formStyleFormat.addListener(myListBox, myComboBox, myScrollBar);
Zobacz również
FStyleFormat.applyChanges
, FStyleFormat.removeListener