Search Flex Samples

Changing the indeterminate move interval of a Flex ProgressBar control

The following example shows how you can change the move interval of an indeterminate progress bar in Flex by setting the indeterminateMoveInterval style.





<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"

layout="vertical"

verticalAlign="middle"

backgroundColor="white">


<mx:ApplicationControlBar dock="true">

<mx:Label text="indeterminateMoveInterval:" />

<mx:HSlider id="slider"

minimum="20"

maximum="200"

value="50"

liveDragging="true"

snapInterval="1"

tickInterval="10"

dataTipPrecision="0" />

</mx:ApplicationControlBar>


<mx:ProgressBar id="progressBar"

label="indeterminateMoveInterval = {slider.value}"

labelPlacement="center"

indeterminate="true"

indeterminateMoveInterval="{slider.value}"

trackHeight="64" />


</mx:Application>

0 comments:

Related Flex Samples

Learn Flex: Flex Samples | Flex Video Tutorials Flex Examples