Skip to main content
Inspiring
Oct 18, 2015 10:12 PM UTC
Answered

ScaleX without squeeze

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 is closed to new replies. Start a new post to keep the conversation going.
nezarovCorrect answer
Inspiring
Oct 18, 2015 10:50 PM UTC

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.

5 replies

nezarovCorrect answer
Inspiring
Oct 18, 2015 10:50 PM UTC

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.

Translate
mcdermittAuthor
Inspiring
Oct 19, 2015 5:22 PM UTC

Ok, that'll do it! Thanks!

Translate
Inspiring
Oct 19, 2015 5:36 PM UTC

You're welcome

Translate
Inspiring
Oct 18, 2015 10:26 PM UTC

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

Translate
Inspiring
Oct 18, 2015 10:21 PM UTC

use width property instead of scaleX

Translate