MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 832

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Property
scrollTrackName
scrollTrackOverName
scrollTrackDownName
thumbTopName
thumbMiddleName
thumbBottomName
thumbGripName
The following example demonstrates how to put a thin blank line in the middle of the scroll
track.
To create movie clip symbols for UIScrollBar skins:
Create a new FLA file.
1.
Select File > Import > Open External Library, and select the HaloTheme.fla file.
2.
This file is located in the application-level configuration folder. For the exact location on your
operating system, see
In the theme's Library panel, expand the Flash UI Components 2/Themes/MMDefault folder
3.
and drag the ScrollBar Assets folder to the library for your document.
Expand the ScrollBar Assets/States folder in the library of your document.
4.
Open the symbols you want to customize for editing.
5.
For example, open the ScrollTrack symbol.
Customize the symbol as desired.
6.
For example, draw a black rectangle in the middle of the track using a 1 x 4 rectangle at (8,0).
Repeat steps 5-6 for all symbols you want to customize.
7.
For example, draw the same line on the ScrollTrackDisabled symbol.
Click the Back button to return to the main Timeline.
8.
Create an input type TextField instance on the Stage.
9.
Drag a UIScrollBar component to the TextField instance.
10.
Select Control > Test Movie.
11.
832
Chapter 6: Components Dictionary
Description
The symbol used for the scroll bar's track (background). The default value
is
.
ScrollTrack
The symbol used for the scroll track (background) when rolled over. The
default value is
undefined
The symbol used for the scroll track (background) when pressed. The
default value is
undefined
The top and left caps of the scroll box (thumb). The default value is
.
ScrollThumbTopUp
The middle (expandable) part of the thumb. The default value is
.
ScrollThumbMiddleUp
The bottom and right caps of the thumb. The default value is
.
ScrollThumbBottomUp
The grip displayed in front of the thumb. The default value is
.
ScrollThumbGripUp
"About themes" on page
.
.
77.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents