MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 370

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

Advertisement

Ensure that the DateFieldAssets symbol is selected for Export in First Frame.
5.
Expand the DateField Assets/States folder in the library of your document.
6.
Open the symbols you want to customize for editing.
7.
For example, open the openIconUp symbol.
Customize the symbol as desired.
8.
For example, draw a down arrow over the calendar image.
Repeat steps 7-8 for all symbols you want to customize.
9.
For example, draw a down arrow over all of the symbols.
Click the Back button to return to the main Timeline.
10.
Drag a DateField component to the Stage.
11.
Select Control > Test Movie.
12.
DateField class (Flash Professional only)
Inheritance
MovieClip >
ActionScript Class Name
The properties of the DateField class let you access the selected date and the displayed month and
year. You can also set the names of the days and months, indicate disabled dates and selectable
dates, set the first day of the week, and indicate whether the current date should be highlighted.
Setting a property of the DateField class with ActionScript overrides the parameter of the same
name set in the Property inspector or Component inspector.
Each component class has a
available only on the class itself. The
of the component. To access this property, use the following code:
trace(mx.controls.DateField.version);
Note: The code
trace(myDateFieldInstance.version);
Method summary for the DateField class
The following table lists methods of the DateField class.
Method
DateField.close()
DateField.open()
UIObject class
>
UIComponent class
mx.controls.DateField
property, which is a class property. Class properties are
version
property returns a string that indicates the version
version
Description
Closes the pop-up DateChooser subcomponent.
Opens the pop-up DateChooser subcomponent.
DateField component (Flash Professional only)
> ComboBase > DateField
returns
.
undefined
371

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents