MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 112

Table of Contents

Advertisement

Customizing a standard Flex effect
The standard effects in Flex may not provide the exact effect that you want. A Fade effect might
be too fast or too slow, or a Pause effect might not hold long enough. You can use Flex Builder to
help you customize these effects.
Note: This feature works only with standard Flex effects applied to MXML components. It does not
work with effects applied to ActionScript components or with custom effects.
To customize a standard Flex effect:
In Design view, select the MXML component with the effect you want to customize.
1.
In the Attributes panel of the Tag inspector (Window > Tag Inspector), click the effect.
2.
A Plus (+) icon appears beside the effect name.
Click the Plus (+) icon beside the effect name.
3.
The Customize Effect dialog box appears.
Enter a name for the new effect and click OK.
4.
Flex Builder performs the following tasks:
Switches to Code view and adds an
effect.
Changes the name of the original effect in the component tag to match the name of the
custom effect.
Shows the properties of the custom effect in the Tag inspector.
112
Chapter 4: Building a Flex User Interface Visually
tag containing the tag for the custom
<mx:Effect>

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents