# Sliding gallery with object scaling

**URL:** <https://forum.kirupa.com/t/sliding-gallery-with-object-scaling/241707>\
**Category:** flash\
**Created:** [October 17, 2007, 10:05am UTC](https://forum.kirupa.com/t/sliding-gallery-with-object-scaling/241707 "2007-10-17T10:05:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ancide](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@Ancide](https://forum.kirupa.com/u/Ancide)\
**Post date:** [October 17, 2007, 10:05am UTC](https://forum.kirupa.com/t/sliding-gallery-with-object-scaling/241707/1 "2007-10-17T10:05:43Z")

</div>

Alright guys. I’m making a sliding gallery that scales the middle picture from 80% to 100% while all the other pictures are 80%.

The problem I have right now is that I can’t figure out how to “de-scale” the picture when you press a new one. Right now I just have tween which scales event.currentTarget to 100%, but how do I de-scale all the other objects?

Here’s a example if you didn’t get what I was trying to explain.  
[http://richardz.se/test/sliding\_icons.swf](http://richardz.se/test/sliding_icons.swf)

All ideas are welcomed!

Thanks! 🙂
