I was wanting to create a button that would set the location of an selection to the centre of the stage or parent.
To send an item to the top left I can see we can just mc1.x = mc1.y = 0; and moveSelection(0,0); updates everything.
How could we approach using the selection itself and using it's real width and height to find the center right etc of the stage or parent?
I have seen moveSelection() but this is relative to the selection's current position, how would we write a moveSelectionTo() ?
Thankyou, I am very much enjoying the wonderful work done here in GreenSock.