Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Symbol width property inconsistencies with outline

New Here ,
Jun 22, 2014 Jun 22, 2014

I have discovered some unsettling behavior regarding flash width/height properties with outlined objects.

Here is a photo of my results,

strange flash.jpg

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 )

TOPICS
ActionScript
194
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2014 Jun 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 22, 2014 Jun 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;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2014 Jun 22, 2014
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines