Posted by: bhuvanvel | June 21, 2008

Flex- completeEffect with Button

The following example shows how you can set a creation complete effect on a Flex Button control by setting the creationCompleteEffectstyle .

View Source

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white">

    <mx:Style>
        Button {
            creationCompleteEffect: Zoom;
        }
    </mx:Style>

    <mx:Button id="button"
            label="Button" />

</mx:Application>


Leave a response

Your response:

Categories