I really hope someone can help me with this, I've been trying to get it to work for 3 days and it's driving me CRAZY!!! What I have is 3 box MCs in a horizontal row, each has a button in it. What I'm looking for, is to be able to click a box and have it tween to the position of the left-most box, while the left-most box tweens to where the other box is coming from. I can get it to work a little, but I can't figure out how to have the second box trigger the box that is now in the left-most position to swap with it...it's driving me NUTS, and I've been looking for tutorials, but it's a hard thing to search for..if anyone has any advice whatsoever, I'd really appreciate it.
see the attached file, this should do it.
there's just one little snag in it: if you trigger the buttons too fast, it can happen, that they remain on the same x position.
hey, cool script this is...
btw, i found a small bug...(is this intentional? i dont know)
when i clicked the middle box, during the time it moves to the left, if i clicked the rightmost box, the rightmost box goes over to the leftmost box, and voila! there's only 2 box in view!
the same thing happens when i clicked the rightmost box, and if i clicked the middle box while it's moving, the middle box will go over the left box and there's only 2 box visible.
It's only that one box always be on top on another, and there's no way of returning it back to 3 box-view
just FYI i guess
"Mr. Anderson, welcome back...we MISS you." - Agent Smith
I've been working on that for over an hour, can't seem to get a fix. I don't mind, eRkLaErBaEr has given me a huge head start. If I get it, I'll post the fix here in case you want to see it, but I wouldn't be holding your breath if I was you
Originally posted by mbokjamu hey, cool script this is...
btw, i found a small bug...(is this intentional? i dont know)
when i clicked the middle box, during the time it moves to the left, if i clicked the rightmost box, the rightmost box goes over to the leftmost box, and voila! there's only 2 box in view!
the same thing happens when i clicked the rightmost box, and if i clicked the middle box while it's moving, the middle box will go over the left box and there's only 2 box visible.
It's only that one box always be on top on another, and there's no way of returning it back to 3 box-view
just FYI i guess
that's the snatch, i meant. the leftmost box receives it's new x position from the box clicked on. so when clicking a box "on the move", the leftmost gets x positions, which don't work with the script.
edit: caramba rysolag, awesome scripting ... i don't get it, but it's working great (and without errors, not like mine ).
Last edited by eRkLaErBaEr; 03-05-2004 at 06:34 AM.