FScrollPane

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Appendix G.  Flash UI Component Summary
FScrollPane support for creating a scrolling view of a movie, movie clip, or JPEG image

Methods

getPaneHeight( )

Returns the height of a scroll pane as set by setSize( ).

getPaneWidth( )

Returns the width of a scroll pane as set by setSize( ).

getScrollContent( )

Returns a reference to the movie clip displayed in the scroll area.

getScrollPosition( )

Returns the current scroll position as an object with x an y properties.

loadScrollContent( )

Loads a .swf or .jpg file into a scroll pane for display.

refreshPane( )

Refreshes the scroll pane (useful if contents change in size).

registerSkinElement( )

Registers a skin element for changing the appearance of a scroll pane.

setDragContent( )

Boolean specifying whether the user can scroll the content in the pane by dragging.

setHScroll( )

Specifies whether a horizontal scroll bar is displayed always (true), never (false), or as needed ("auto").

setScrollContent( )

Specifies a Library symbol or move clip instance to display in the scroll pane.

setScrollPosition( )

Sets the current scroll position using x and y coordinates.

setSize( )

Sets the scroll pane's width and height.

setStyleProperty( )

Sets a particular style property for the scroll pane (for a list of supported properties, see the FStyleFormat object).

setVScroll( )

Specifies whether a vertical scroll bar is displayed always (true), never (false), or as needed ("auto").



    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