A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Objects copied into a sprite are misaligned...

  1. #1
    Senior Member
    Join Date
    Oct 2000
    Posts
    268

    Objects copied into a sprite are misaligned...

    Is there a trick to aligning objects in a sprite? It seems that when I attempt to copy objects from the main timeline to a sprite, they become misaligned.

  2. #2
    Senior Member
    Join Date
    Aug 2001
    Posts
    256
    Hi,

    I prefer to line everything up the way that I want it to appear, then group together all of those elements as a sprite. That way, you won't have the problem that you are talking about.

    But, if you do have to add things to the sprite afterwards, they most likely have their centre in the same place as it was in the main scene. In most cases, you can simply change their centre to 0,0 (zero, zero) just like the sprite's centre. This usually solves the problem.

    You can also, click all of the elements in the sprite to group them together, and click ungroup. This will put them back in the main scene. Then, you click the new object, and group them all as a sprite again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center