When flash calculates _width and _height, it also includes things inside the movieclip which may be invisible, or masked out. Try this simple example: On the stage, create an empty movie clip A which contains two square movieclips B and C, which are placed next to each other
This code will produce the same output 4 times: trace(A._width); A.B._visible = false; trace(A._width); A.C._visible = false; trace(A._width); A._visible = false; trace(A._width); Not sure if this is related exactly to your problem, but I've had issues with _width & _height before, and this is usually the cause. -David R On 7/20/06, Dave Wood <[EMAIL PROTECTED]> wrote:
> The actual dimensions of the movieClip (and also the map) are 400 X > 300 pixels. Sorry, that was a typo - they are actually 500 X 400 pixels. David
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com