Copy link to clipboard
Copied
I have discovered some unsettling behavior regarding flash width/height properties with outlined objects.
Here is a photo of my results,
I am puzzled and concerned.
The width of the Symbol in question falls noticeably short of 450, even if you include the stroke-width.
What is happening?
I would greatly appreciate your help?
Note: I am working in CS6 (though viewing the document in the current flash player flash player 14,0,0,125 )
Copy link to clipboard
Copied
the property inspector gives the width/height of the fill, not the stroke. because 1/2 the stroke is outside the fill and 1/2 inside, actionscript will give the width/height as equal to the fill width/height + the stroke width.
the actual size when measured on-screen will match the actionscript numbers so the properties panel is misleading.
Copy link to clipboard
Copied
Thank You so much for your prompt response!!!
"actionscript will give the width/height as equal to the fill width/height + the stroke width"
That makes sense!
What does not make sense is why fill width + stroke width does not appear to add up to 450.
This is visible in the results I have shown.
"1/2 the stroke is outside the fill and 1/2 inside"
Are you saying that it is only adding 1/2 stroke width + fill will width (ignoring the other 1/2 stroke exposed on the opposite side).
So to compensate, I can always add 1/2 the stroke width + MovieClips's width to get the true width;
Copy link to clipboard
Copied
it adds 1/2 stroke width on left and 1/2 stroke width on right = stroke width.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now