Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1056883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:46:53+00:00 2026-05-16T17:46:53+00:00

Ok so I have 3 movie clips that are setup in rows. I need

  • 0

Ok so I have 3 movie clips that are setup in rows. I need these movie clips to be positioned in a certain position and each of the elements in side of them in another position. Now in order to do that I have to set the width so that I can put the rows where I need them however after setting the width and then adding a child to it seems to be resizing the row so that it is no longer the width that I set it. Is there any way around this or am I missing something? Any help is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:46:54+00:00Added an answer on May 16, 2026 at 5:46 pm

    You could set the row positions with fixed values or you could use a variable whose value will be set when you first check for a movieclip width , that is before the movieclip is being resized.

    //assuming you're working with three base movie clips , mc1 , mc2 & mc3
    //and element movie clips to add inside them
    var rowWidth:int;
    
    if( rowWidth == 0 )
      rowWidth = mc1.width;
    
    mc1.addChild(element);
    
    //then you can place your other movie clips
    mc2.x = rowWidth;
    mc3.x = rowWidth * 2;
    
    //if the row widths are not equal , you will need to create two rowWidth variables
    var rowWidth1:int;
    var rowWidth2:int;
    
    if( rowWidth1 == 0 )
      rowWidth1 = mc1.width;
    
    if( rowWidth2 == 0 )
      rowWidth2 = mc2.width;
    
    mc1.addChild(element1 );
    mc2.addChild(elementN );
    
    mc2.x = rowWidth1;
    mc3.x = rowWidth2;
    
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a mainMovie clip that consist of different movie clips. Inside of my
My stage have 3 movieclip that is mc1,mc2 and mc3. each of them are
i have 8 movie Clips that i stored in an array. i put the
I have a flash program that loads movie clips dynamically and sometimes they want
Im having some trouble getting the syntax right. I have a movie clip that
I have a container MovieClip that serves as a content area that I need
For example I have a hierarchy of movie clips. mc1 is a child of
I have a fancy movie clip (with text and other movie clips inside it)
I have an Movie Clip in Flash that have subobject of button type which
Here's a really frustrating Actionscript 2 problem I have with movie clips associated with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.