Empty MovieClips and their size

Written by skoch. Filed under Uncategorized. Bookmark the Permalink. Post a Comment. Leave a Trackback URL.

I have an empty movieclip on the stage at 25, 23.
I have another clip that contains 3 clips at 0, 0.
These 3 nested clips all have an empty 1st frame. Their width and height properties are all 1, 1.
(We all know that an empty clip defaults to 1px x 1px but should that be 0px x 0px? It’s EMPTY.)
If I select either of these clips on the stage, I get the proper width and height as reported by Flash.

BUT!

If I select both of these movieclips and look at their combined width and height?
I get the following:

So what Flash thinks is that the combined width of these clips is 6,710,861 pixels and the combined height of these clips is 6,710,863 pixels?

That’s a lot of pixels. And why aren’t they they same? I suspect that it’s adding 2 pixels for the y position.
(confirmed)

STRANGE DAYS.

Posted via email from Stephen Koch

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>