Hi
I have mc content_mc with 3 mc inside. Each of them has image with
different size and masked with size 100px width.
I expected to get total size for container_mc 3*100. But it is not true.
When I trace(content_mc._width) it gives me 497. I need correct
calculation for content mc.
What I can
mc.mask.width?
On 08/12/2010 17:26, natalia Vikhtinskaya wrote:
Hi
I have mc content_mc with 3 mc inside. Each of them has image with
different size and masked with size 100px width.
I expected to get total size for container_mc 3*100. But it is not true.
When I trace(content_mc._width) it
Glen Pike skriver:
mc.mask.width?
What if the maskee is smaller? What if the mask and the maskee only
partially overlaps?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Mask is 100px width. Image is 200px width. Putting 3 masked mc in one
container don't give 300px width.
2010/12/8 Henrik Andersson he...@henke37.cjb.net:
Glen Pike skriver:
mc.mask.width?
What if the maskee is smaller? What if the mask and the maskee only
partially overlaps?
natalia Vikhtinskaya skriver:
Mask is 100px width. Image is 200px width. Putting 3 masked mc in one
container don't give 300px width.
True, but if you put the image at (0,50) the visible size is 50 pixels.
That is, assuming that the image has the registration point in the top
left corner.
How I can check how they intersect? Can you explain at this example
how I should calculate total size?
2010/12/8 Henrik Andersson he...@henke37.cjb.net:
natalia Vikhtinskaya skriver:
Mask is 100px width. Image is 200px width. Putting 3 masked mc in one
container don't give 300px width.
natalia Vikhtinskaya skriver:
How I can check how they intersect? Can you explain at this example
how I should calculate total size?
You can find the bounding boxes with the getBounds method and take it
from there. But it is still only the bounding boxes. And things do get
complicated when
7 matches
Mail list logo