A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loading a movie clip into another movie clip

  1. #1
    Senior Member
    Join Date
    Jan 2002
    Posts
    161

    loading a movie clip into another movie clip

    can you load a movie clip into another movie clip so it is centered. Say I have a mc called big. I want to load small into big so it is exactly centered. Can you do this?

  2. #2
    Member
    Join Date
    Feb 2004
    Location
    Sunderland . UK
    Posts
    38
    dont know the exact code , but its gonna be something along the lines of "y/x = - + "total movie height/width /2""

  3. #3
    Senior Member
    Join Date
    Jan 2002
    Posts
    161
    Is there any basic code to tell a movie object to center itself on the x and y. For example, I can tell myMovieclip to go to 3,3 by saying:
    myMovieclip._x = 3;
    myMovieclip._y = 3;

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