A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: A tween like this ?

  1. #1
    Senior Member
    Join Date
    Feb 2005
    Posts
    172

    Question A tween like this ?

    Hello there.

    I'm using tweenmax for almost all of my teen works. But I'm wondering how I can create a tween like this
    http://www.zeebee.co.uk

    As you can see, everything moves ON the circle, they do not directly go rom one point to another..

    Any ideas ?

  2. #2
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Location
    Honolulu
    Posts
    2,429
    tweenmax supports bezier tweening too.

    Actionscript Code:
    import com.greensock.*;
    import com.greensock.easing.*;

    TweenMax.to(mc, 3, {bezier:[{x:272, y:164}, {x:300, y:345}], orientToBezier:true, ease:Bounce.easeOut});

  3. #3
    Senior Member
    Join Date
    Feb 2005
    Posts
    172
    Yes but, circular ?!

  4. #4
    Senior Member
    Join Date
    Feb 2005
    Posts
    172
    I'm also wondering about how I can create the placement of the object dynamically like the example I sent.
    Whan I mean is, I can place the objects depending on their cound by giving all of them seperate degreed's like:
    (360/objectCount) * objectOrder

    but, the example I sent has something different. I mean, when its mouseOver, some calculation that's beyond my limits happen.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center