I am looking on how to create a expaanding circular family tree type effect. I want to be able to click on one center button which will then expand a bunch of other buttons that come out one at a time all in a circular motion.
Basically if i click on the “main” button (as shown in the example bellow) the 1, 2, 3, buttons and so on should grow and expand all out in a circle and should then be clickable.
[CENTER]
[/CENTER]
I know basically i could create a single movieclip that contained the base animation of the clip expanding from main and then i would just put a dynamic text field. I then would just have to figure out how many buttons i wanted in the entire circle (like lets say 10) and then divide that number by 360 (being the circumference of the circle). So how would one go about that? Obviously set up a variable for number of buttons then maybe the spacing i wanted between the buttons divided by 360?
Any help would greatly be appreciated. Example fla’s or actionscript etc. I would prefer it in actionscript 3 however if 2 is only the option that is ok.