Alrighty i’m trying to expand my understanding of actionscript and am trying to figure out effects like the navigation at www.kurtnoble.com . I’m trying to make, for practice, four squares like their navigation where one expands and the others shrink to allow room for it. This can be used to do a lot of different things, i know, but i’m just using this to learn it.
I know in the nav on that site it’s all relative to the left, and when you click a box, it scales to a certain size, changes the x coordinates of the other boxes, and has an easing equation with bounce when it moves them. I’m just not very good at math and always have trouble with stuff like this. Has anyone else done something similar who can give me some tips? Thanks.
Actually now i’ve got it all except i can’t figure out how to get the squares to move with each other. I’ve got them looking at each others’ positions but only when they first load-- how do i get them go continually refresh they’re positions based on the size of squares around them?
I did, and i thought that was what did that, but it’s not working. I’ve got two squares right now with the growing functions on the buttons themselves, with actions on the root timeline attempting to make the blocks look at each other and move as one of them grows. But it’s looking once when it first places them and doesn’t refresh within my functions on the root timeline. I’ll upload my .fla.