Jump to content
Search Community

leonk

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by leonk

  1. Is there a way to do this?

     

    I can't see a way I can update this with the setDestination() method.

     

    I've tried this:

    if(tween.currentProgress > 0.5)
    {
    tween.setDestination('x',newX);
    tween.setDestination('y'newY);
    }

     

    As my tween has only two bezier points, so if it's done half way it's finished the first. However, this causes the script to crash.

     

    I am thinking I should kill the tween and create a new one, but maybe there's another way?

     

    Thanks

  2. I am currently tweening an objects x and y coordinates, it needs to move straight in right angles (so no curves or diagonal movement).

     

    I have done this so far by using bezier points, adding two beziers for every right angle.

     

    However, is there an easier or better way to do this? As I have run into a few problems.

     

    Thanks

    Leon

  3. I've got a few issues tweening scaleX and scaleY properties, the tween works fine on a Mac, but windows it won't tween.

     

    My flash site basically zooms in to different parts of a large movieclip. So I'm reguarly tweening the scaleX, scaleY, x and y.

     

    On the last three pages from the menu, only the x and y are tweened.

    This is the page: http://tiny.cc/qe0lR

     

    Does anyone know what might be causing this?

     

    Thanks guys.

×
×
  • Create New...