[Tweener] scrollbar API and tweener

Adrien realeon at hotmail.com
Fri Dec 18 04:21:04 PST 2009


Hello I'm working on a scrollbar
The author suggests to use the method move to do an effect on the  
clipContent...
I would like to use tweener to do that but I don't know how to do it
Help would be appreciated
Adrian




import ch.component.scrollbar.*;
import caurina.transitions.Tweener;

var m:ScrollManager = sc.getModel().getScrollManager();

m.move = function(target:MovieClip, property:String, value:Number):Void
{
    ///default should be :  target[property] =  
getVirtualPosition();                                  //????//  
Tweener.addTween(clipContent, {_y:100, time:0.8,  
transition:"easeInOutCubic"});}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20091218/fdac6779/attachment.htm>


More information about the Tweener mailing list