# AS2 problem:attachmc alignment with movieclip

**URL:** <https://forum.kirupa.com/t/as2-problem-attachmc-alignment-with-movieclip/241318>\
**Category:** programming\
**Created:** [October 12, 2007, 5:09am UTC](https://forum.kirupa.com/t/as2-problem-attachmc-alignment-with-movieclip/241318 "2007-10-12T05:09:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![naganaga0](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@naganaga0](https://forum.kirupa.com/u/naganaga0)\
**Post date:** [October 12, 2007, 5:09am UTC](https://forum.kirupa.com/t/as2-problem-attachmc-alignment-with-movieclip/241318/1 "2007-10-12T05:09:14Z")

</div>

Hello, I need a way to have an attached mc stay aligned with another mc that rotates (for AS 2.0). More specifically, I have a spaceship with several turrets that shoot at intervals, the problem comes when the spaceship rotates; how do I get the bullets (or whatever you want to call them) to appear at the correct x and y values when the spaceship rotates when the ship itself is asymetrical and has a registration point at its tip?

If this question is unclear, just ask me which part and I’ll clarify. :ne:

Thank you!

Here is a picture that illustrates my problem:
