2 Replies Latest reply on Feb 27, 2009 6:01 AM by nilbernatorking

    Moving multiple sprites in a list


      I am making a jigsaw puzzle game in lingo where you can click and drag the pieces on to each other to connect them. The main problem I am having is when two or more pieces are attached I want to be able to move them all at the same time. The way I do this with just two pieces is have a value change when the second piece is attached to the first piece and have a different behaviour for controlling their movement. But if I use this method for more pieces it would result in a ridiculous amount of code and I'm worried this would affect performance. The way I would solve this in flash is to put the pieces in an array and just move that array, however I can't figure out how to move all the sprites in a list at once in lingo. Could anyone give me any examples of accessing and moving all sprites in a list at once.