PDA

View Full Version : Re: Isometry and Moving Separate MovieClips as a Group



insultcomidog
January 7th, 2009, 11:28 PM
I have an isometric scene in which I want move several separate movieclips as a group to form a custom cursor.

The movieclips have to be separate in order to maintain proper depth sorting.

My movieclips are stored in an array. If I only have one mc in my array, I can set the x,y no problem. But if I have multiple mcs in my array, the x,y positions all collapse to the mouseX, mouseY.

I need to figure out how to maintain the separate mcs original x,y to each other but move them as a group in the stage space.


Anyone have an idea on how to solve this problem?

cesig
January 8th, 2009, 11:36 AM
You could put them into a container sprite and then move that container sprite how you want. They'd all stay in the same place relative to each other.

Charleh
January 8th, 2009, 11:42 AM
Either that or set an offset position for each mc and make sure this gets added to the origin so that they don't collapse to the mouse centre.