Jump to content

[Flash] How to center a movieclip inside a container

- - - - -

  • Please log in to reply
No replies to this topic

#1
Alhazred

Alhazred

    Learning Programmer

  • Members
  • PipPipPip
  • 99 posts
I have to add inside a movieclip other movieclips dynamically.
I do this with addChild method, the problem is that the added clips resize themself losing their aspect ratio.
I'd want to add those clips keeping their width and height and center them inside the container.

How can I do that?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users