Hi,

I use as3 + sdk + FlashDevelop to do swf:s, currently trying Flexbuilder 
as I eventually would like to start using mxml.

I am not completely sure how coordinates and sizes work. Say that I have 
a root Sprite 100x100 large; a child Sprite at x:50,y:50 of size 50x50. 
It seems that flash calculates a viewport of the child sprite and 
maximizes it to fit into the 50x50. So if the child sprite only contains 
a 10x10 bitmap, this bitmap will be rendered of size 50x50 in the root 
sprite.

The root sprite did seem to bahave like this too until I got the advice to
            this.stage.scaleMode = StageScaleMode.NO_SCALE;
            this.stage.align = StageAlign.TOP_LEFT;

In short, I've managed to confuse myself gravely and wonder if any has 
any reading suggestions?

Thanks!
Marcus

Reply via email to