Please excuse me if I’m doing something really stupid, but I’m a little new at actionscript, and graphics programming in general. I’m trying to make an online TCG and I’m starting out by creating the table and card stacks. I’ve set it up where I have a table which holds stacks. The stacks hold cards, and the cards hold a front and back image. Really simple. So I thought. For some reason, the card is re-sizing to fit the screen. Even though a trace shows that the width and height are correct. Here is an example:

In all reality, it should be about the height of the white box with the “A” in it, in the top left hand corner. The only place where I explicitly set a width and height is setting the table width and height. The table, Stack, and card are all sublasses of the flash Sprite class. Since there are 4 seperate files for the example above, if someone would need to look at the code, please let me know what you’d be looking for so I know what to share.
The problem is that you’re scaling table by changing it’s width and height. When you scale a parent, all of it’s children get also scaled.
You should only scale the background bitmap you create. The size (width and height) of a parent will be the area contained by it’s children.