# scaleX \*= -1 only modifying width

**URL:** <https://forum.kirupa.com/t/scalex-1-only-modifying-width/330926>\
**Category:** flash\
**Created:** [April 9, 2013, 8:55am UTC](https://forum.kirupa.com/t/scalex-1-only-modifying-width/330926 "2013-04-09T08:55:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeekTweak\_0](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@GeekTweak\_0](https://forum.kirupa.com/u/GeekTweak_0)\
**Post date:** [April 9, 2013, 8:55am UTC](https://forum.kirupa.com/t/scalex-1-only-modifying-width/330926/1 "2013-04-09T08:55:38Z")

</div>

```auto
if(guy.scaleX > 0)
                        {
                            guy.scaleX *= -1;
                            guy.x += 32.5;
                        }

```

-1, 1, -2, 2, etc… it only modifies my movieclips width, and does not do the desired effect, that being an image flipped horizontally. what could be the potential problem here?

thanks.
