PDA

View Full Version : Image not Aligning properly [AS3]


Rusty Collins
05-05-2011, 08:06 PM
So I've started making my game and i'm following a tutorial book but have run into a wall.

I have the code "addChild(titleScreen)" for when the SWF loads.

The problem is that the SWF file only shows the bottom half of the screen with the buttons on and doesn't show any more.

Does anyone know how to correct this?

Rusty Collins
05-05-2011, 08:58 PM
Ok so I think I have solved it but still have one slight problem.

I found that i'd double clicked the movie clip image of the background and then double clicked it again and implemented my buttons and images to that layer.

I removed those elements to the first layer and the image actually gets placed properly into the window now.

But there is a repeated image of the background but only it's lower right corner which is placed at the top left of the screen.

any suggestions?

Rusty Collins
05-06-2011, 12:24 PM
[Update] problem with previous was fixed but now i am back to square one with the bottom right corner of the MC being displayed to the upper left part of the screen.

I've implemented buttons and got the addChild working but i don't understand why the flash player is putting the SWF in that place.

Does anyone know why that might be?