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 904401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:02:37+00:00 2026-05-15T16:02:37+00:00

I have a bit of a problem with actionscript 3.0 dynamic movieclip placement. The

  • 0

I have a bit of a problem with actionscript 3.0 dynamic movieclip placement.

The scenario is like this:

I have a 16×16 grid generated by actionscript inside a movieclip. (let’s name it gridContainer).

The tiles of the grid should have constant height and width; it should not scale with its parent’s height/width changes. Also, I want this gridContainer MC to be stretched all the way to the right and bottom of stage.

The problem arises when i resize the stage. In the gridContainer’s resize event listener, I set the gridContainer’s H/W to stage’s H/W. Then of course, tiles are scaled. I rescale down the tiles in their respective resize listeners. But, when I do this, I lose the container’s width and height.

My ultimate goal for now is to draw a border around the tiles, even if the number of tiles fall short of the gridContainer’s area.

What approach, you flash gurus suggest? How is the static width/height achieved?

Thanks in advance.

  • 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-15T16:02:38+00:00Added an answer on May 15, 2026 at 4:02 pm

    A parent display object will always take the area of the largest element within it. Are the tiles the only children of gridContainer? If so, gridContainer will shrink to fit the tiles when they’re resized.

    I think you’d need to create a transparent background child element to sit behind the grid and resize when the stage’s dimensions change. So when the stage changes, you resize the tiles appropriately, but let the background element scale naturally.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am micro-optimizing this function and have a bit of a problem where inside
I have a bit of strange problem on this page: http://www.bluprintliving.com/locations it seems that
I have bit of a strange problem. In have a MovieClip i resize, but
I have a bit of problem with this. I have a class A which
I have a bit of problem when trying to validate my page as HTML5.
I have a bit of a problem. I am trying to do the following
I have a bit of a problem building my project. I'm getting the bellow
I have a bit of a problem here. I have a third party ActiveX
I'm quite new to MediaWiki, and now I have a bit of a problem.
I have a bit of an architecture problem here. Say I have two tables,

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.