[Tweener] scrollbar API and tweener
Zeh Fernando
zeh at zehfernando.com
Fri Dec 18 06:22:36 PST 2009
How do you set the scroll position (not using Tweener)?
On Fri, Dec 18, 2009 at 7:21 AM, Adrien <realeon at hotmail.com> wrote:
> 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"});}
>
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20091218/1ec00357/attachment.htm>
More information about the Tweener
mailing list