Jump to content
Search Community

Dece

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Dece

  1. Hi All,

     

    I have a requirement where I need to execute a method prior to each tween step and another method right after that tween step.

    So in essence, if my Tweenlite object is going to step through a series of tweens, I want to be able to run some method right before and right after each tween step.

     

    Going through TweenLite documentation, I found an option that I could use: onUpdate: methodName

    However, this only partly solves the problem.

     

    Any suggestions.

     

    Thanks a lot,

    Dece

  2. Hi All,

    I have a sprite on stage conceptually representing a timeline in history.

    A number of circles representing certain times in history appear on this timeline (you can imagine a timeline scale).

    I want my users to be able to zoom in on a particular circle that would then expand into a new timeline with some specific events for this time.

     

    I am trying to tween the scaleX, scaleY, alpha properties when the user clicks on a specific timeline circle. Something like:

    {scaleX:5, scaleY:5, alpha:0} // this object feeds the tweener
    

     

    This gives me the effect of zooming in. Once the tween completes, I make the new timeline visible.

     

    Is there a better way to achieve something like this? My visualization looks ok but does not look very clean.

     

    Thank you

    Dece

  3. Hi,

     

    I am first time user of TweenLite library. Must admit, this is awesome. The getting started guide was quite helpful.

     

    here is something I am struggling with. Any help will be highly appreciated..

    I want to use tweening of objects along a path. The path will be created at run-time by the user.

     

    Basically the user can scribble a path (need not necessarily be a straight line) and I would like to tween an object on that path.

     

    How do I go about doing this? I saw the bezier path tweeneing example mentioned in the getting started guide, but that wouldn't really help as I would not

    know what path I will tween until the user draws one.

     

    Once again thanks for help

    Dece

×
×
  • Create New...