flash AS Q [orbit]

  • Started
  • Last post
  • 1 Response
  • Timson

    i want to create a pseudo-3D buttonset orbit style. i got this done by using a guide (oval) and tweening my buttons around it. but i'm actually looking for a simple script that'll do this for me. it doesn't have to mousesensitive or anything. just move the button in an orb around the stage. anyone?

  • MX_OnD0

    right, I'm not enough of a mathsHero to give you the function you'll need... but I can give you the parts you'll need to make and a structure that should work..

    what you want to do is have a function that plots the points on an ellipse (x and y coordinates)

    now set up x amount of different movieClips... give each of them a setInterval to call the ellipse function and update their positions accordingly.

    job done.

    now you just need to find a mathematician ;)