# Tsunami rollover?

**URL:** <https://forum.kirupa.com/t/tsunami-rollover/102044>\
**Category:** Uncategorized\
**Created:** [February 19, 2004, 3:42am UTC](https://forum.kirupa.com/t/tsunami-rollover/102044 "2004-02-19T03:42:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artom](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@Artom](https://forum.kirupa.com/u/Artom)\
**Post date:** [February 19, 2004, 3:42am UTC](https://forum.kirupa.com/t/tsunami-rollover/102044/1 "2004-02-19T03:42:19Z")

</div>

Guys i need help with the following effect,

let’s say i have 4 circular icons…on rollover i’d like to zoom in on them, well one at a time, and at the same time i want the other icons to be pushed out of the way (so they’re all visible no matter how big the zoomed in overstate is (or how far apart they are from each other for that matter).

In flash, is there something like “no overlapping layers” option (like in dreamweaver).

hope that makes sense and thanks for any help,

Artom  
:block:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 19, 2004, 8:58am UTC](https://forum.kirupa.com/t/tsunami-rollover/102044/2 "2004-02-19T08:58:24Z")

</div>

Hi, don’t believe there is anything like that in Flash…

In Flash it can be done though. On rollover you need to use \_xscale and \_yscale to do the zoom in effect. That symbol will have an X and Y position attribute also. As the size increases it will remain the same - however if you use some simple statement attached to the other symbols you can keep them apart. Lets say u want to keep them 15px apart, something along these lines would do it

[AS]  
if (mysymbol.\_xscale\>100) {  
this.\_x = mysymbol.\_xscale - 100 + 15;  
}

```auto

something along those lines would help u keep them out of the way. In short will need to use actionscript X,Y,xscale and yscale to move the various outa the way!

maybe another way to do it, but thats how I would go about it!
```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 20, 2004, 2:15am UTC](https://forum.kirupa.com/t/tsunami-rollover/102044/3 "2004-02-20T02:15:11Z")

</div>

Thanks, that makes sense. You just basically move the objects depending on how big the objects next to it. that’s cool. Yeah i was wondering if that’s what they were doing. Thanks for your help, RageW0lf
