FStyleFormat

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Appendix G.  Flash UI Component Summary
FStyleFormat support for applying styles to Flash UI Component elements

Methods

addListener( )

Adds UI Components to a list of items to be updated when the FStyleFormat changes.

applyChanges( )

Applies style changes and notifies (refreshes) all listeners.

removeListener( )

Removes a style format listener.

Properties

arrow

Sets the RGB color of arrows used in scroll bars, list boxes, etc.

background

Sets the RGB color of the background of associated UI components.

backgroundDisabled

Sets the background RGB color for disabled UI components.

check

Sets the RGB color for checkmarks in checkboxes.

darkshadow

Sets the dark shadow RGB color used in associated radio buttons, checkboxes, etc.

embedFonts

Specifies whether to embed fonts for text within UI components.

face

Sets the primary RGB color used for associated UI components.

focusRectInner

Sets the RGB color of the inner focus rectangle for UI components.

focusRectOuter

Sets the RGB color of the outer focus rectangle for UI components.

foregroundDisabled

Sets the RGB color for the foreground of disabled UI components.

highlight

Sets the RGB color for highlights on UI components.

highlight3D

Sets the RGB color for 3D highlights on UI components.

radioDot

Sets the RGB color for the dots in radio buttons.

scrollTrack

Sets the RGB color for the background track of a scrollbar.

selection

Sets the RGB color for selections.

selectionDisabled

Sets the RGB color for disabled selections.

selectionUnfocused

Sets the RGB color for unfocused selections.

shadow

Sets the RGB color for shadows.

textAlign

Sets the text alignment ("right", "left", or "center").

textBold

Boolean specifying whether text should be bolded.

textColor

Sets the RGB color of text in the UI component.

textDisabled

Sets the RGB color for disabled text.

textFont

Sets the text font for UI components.

textIndent

Sets the integer indentation, in pixels, for text in UI components.

textItalic

Boolean specifying whether text should be italicized.

textLeftMargin

Sets the left margin, in pixels, for text in UI components.

textRightMargin

Sets the right margin, in pixels, for text in UI components.

textSelected

Sets the RGB color of selected text in UI components.

textSize

Sets the font text size, in points.

textUnderline

Boolean specifying whether text should be underlined.

     


    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net