The Glow effect lets you apply a visual glow effect to a component.
The Glow effect uses the Flash GlowFilter class as part of its implementation. For more information, see the flash.filters.GlowFilter class. If you apply a Glow effect to a component, you cannot apply a GlowFilter or a second Glow effect to the component.
The <mx:Glow> tag inherits all of the tag attributes of its superclass, and adds the following tag attributes:
<mx:Glow
id="ID"
alphaFrom="val"
alphaTo="val"
blurXFrom="val"
blurXTo="val"
blurYFrom="val"
blurYTo="val"
color="themeColor of the application"
inner="false|true"
knockout="false|true"
strength="2"
/>
The AnimateProperty effect animates a property or style of a component. You specify the property name, start value, and end value of the property to animate. The effect sets the property to the start value, and then updates the property value over the duration of the effect until it reaches the end value.
Continue reading ‘Flex Animate Property’
Flex Custom Effects Defined Declaratively Sample Source Code:
Create a file:
ZoomEffectsDemo.mxml
<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” backgroundAlpha=”0″>
<mx:Zoom id=”zoomIn” zoomWidthTo=”1″ zoomHeightTo=”1″ />
<mx:Zoom id=”zoomOut” zoomWidthTo=”.5″ zoomHeightTo=”.5″ />
Continue reading ‘Flex Zoom Effect Source Code’