MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 45

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

Advertisement

If the component is a FLA (all installed version 2 components are SWC files) and if you have
3.
edited skins for another instance of the same component, or for a component that shares skins
with the component you are adding, do one of the following:
Select Don't Replace Existing Items to preserve the edited skins and apply the edited skins to
the new component.
Select Replace Existing Items to replace all the skins with default skins. The new component
and all previous versions of the component, or of components that share its skins, will use
the default skins.
Select the component on the Stage.
4.
Select Window > Properties.
5.
In the Property inspector, enter an instance name for the component instance.
6.
Click the Parameters tab and specify parameters for the instance.
7.
The following illustration shows a the Property inspector for the TextInput component that is
in the TipCalculator.fla sample file (installed at Flash MX 2004/Samples/HelpExamples/
TipCalculator).
For more information, see
Change the size of the component as desired.
8.
For more information on sizing specific component types, see the individual component
entries in
Chapter 6, "Components Dictionary," on page
If you want to change the color and text formatting of a component, do one or more of
9.
the following:
Set or change a specific style property value for a component instance by using the
method, which is available to all components. For more information, see
setStyle()
UIObject.setStyle()
Edit multiple properties in the global style declaration assigned to all version 2 components.
Create a custom style declaration for specific component instances.
For more information, see
on page
67.
If you want to customize the appearance of the component, do one of the following:
10.
Apply a theme (see
Edit a component's skins (see
"Setting component parameters" on page
on page
825.
"Using styles to customize component color and text"
"About themes" on page
"About skinning components" on page
47.
91.
77).
Adding components to Flash documents
80).
45

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