Up to my Flash shenanigans again. haaallllppp!
Up to my Flash shenanigans again. haaallllppp!
Out of context: Reply #3
- Started
- Last post
- 7 Responses
- monNom0
Off the top of my head: keep an array of scores on the root. Better yet, an array of objects so you keep the player name associated with the score.
Make each player/score as a movieclip and add an action on that movieclip to continually set its y postion to its height * its order. Have it poll the root for it's position within the array and move itself accordingly.
Then on the root, every time a score updates, do a sort() on your array to get the new order.