You are here

Tweening Dates in Flex 2

Here is a Flex 2 effect that will let you apply a tween effect to a Date-based control, such as, ohhh, a DateTimeAxis on a chart.

You use it the same way as the AnimateProperty TweenEffect:

var ani:*=new AnimateDateTimeProperty(aChart.horizontalAxis);//have to use * to avoid type conflict on toValue
ani.property="minimum";
ani.toValue=new Date( minDateVal+minDate );
ani.play();

Sections: 
topical-homopterousif you are reading this, don't click it as it will mark you as a spammer
if you are reading this, don't click it as it will mark you as a spammer