Hello,
I'm actually trying to make a simple time picker for an AIR app (like the one you have when you select hours and minutes to create an alarm).
First I want to thank you for all the good stuff you provide to us, it saves me a lot of time !
To make an infinite scroll I use the wrap param for BlitMask, and I created an Array with my 24 positions (for the hour scroller for example) and I pass it to the end variable when making my ThrowProps, like this :
ThrowPropsPlugin.to(this.mContainer,
{throwProps: { y: { velocity:yVelocity, resistance:500, end : this.aItemsPos } }, onUpdate:this.mBMask.update, onComplete:onTweenComplete, ease:Strong.easeOut}, 10, 0.3, 1);
But everytime I reach the first or the last element it comes back to its original position. For example I can go from 00 to 01, 02, 03, etc... but I can't go to 23.
I guess it's normal since the values I am trying to reach aren't in my array, but do you know how I could handle it ?
Thank you.