Skip to main content
Inspiring
October 18, 2015
Answered

ScaleX without squeeze

  • October 18, 2015
  • 3 replies
  • 566 views

I have a health bar graphic which has slanted ends (so it's a parallelogram, not a rectangle), and when I try to animate it in Flash to shrink anchored on the left center, the slanted ends gradually get straighter and straighter.

How do I get around this?

This is my image. It is scaled up in Flash by 200 percent.

This topic has been closed for replies.
Correct answer nezarov

the only way is to cut the end and convert it to movieClip then animate it on x axes at the same time of scaling.. use the bar width as x value for "end_mc".

otherwise it'll be stretched.

3 replies

nezarovCorrect answer
Inspiring
October 18, 2015

the only way is to cut the end and convert it to movieClip then animate it on x axes at the same time of scaling.. use the bar width as x value for "end_mc".

otherwise it'll be stretched.

mcdermittAuthor
Inspiring
October 19, 2015

Ok, that'll do it! Thanks!

Inspiring
October 19, 2015

You're welcome

Inspiring
October 18, 2015

oh it's not a stroke then you'll get the same result! :/

Inspiring
October 18, 2015

use width property instead of scaleX