Skip to main content
Participant
June 22, 2014
Question

Symbol width property inconsistencies with outline

  • June 22, 2014
  • 3 replies
  • 224 views

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 )

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

kglad
Community Expert
Community Expert
June 22, 2014

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.

Participant
June 22, 2014

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;

kglad
Community Expert
Community Expert
June 23, 2014

it adds 1/2 stroke width on left and 1/2 stroke width on right = stroke width.