# Need help on "pushing" swf files!

**URL:** https://forum.kirupa.com/t/need-help-on-pushing-swf-files/117497
**Category:** Uncategorized
**Created:** [July 27, 2004, 10:54pm UTC](https://forum.kirupa.com/t/need-help-on-pushing-swf-files/117497 "2004-07-27T22:54:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![slumgutt](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@slumgutt](https://forum.kirupa.com/u/slumgutt)
#### Post date: [July 27, 2004, 10:54pm UTC](https://forum.kirupa.com/t/need-help-on-pushing-swf-files/117497/1 "2004-07-27T22:54:44Z")

</div>

Hi everyone!

I’m creating a site that contains 3 seperate panels to display all the information. I want to make the panel in the middle at a different size for every file it displays. But i need the third panel to move accordingly! Understand? So that the second panel sort of push the third panel to the side when it gets bigger, and pulls it in when it gets smaller… Kind of hard to explain…

tips, or links to tutorials on this would be great! I’ve been searching for some time, but i dunno what words to use in my searches…

Thanks!

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [July 27, 2004, 10:57pm UTC](https://forum.kirupa.com/t/need-help-on-pushing-swf-files/117497/2 "2004-07-27T22:57:40Z")

</div>

you can use something like this:

```auto
onClipEvent(enterFrame) {
this._x = center._width+10;
this._width=stage.width-this._x;
}

```

that should do exactly what you want 😉

---

<div class="post-metadata">

### Author: ![slumgutt](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@slumgutt](https://forum.kirupa.com/u/slumgutt)
#### Post date: [July 27, 2004, 11:04pm UTC](https://forum.kirupa.com/t/need-help-on-pushing-swf-files/117497/3 "2004-07-27T23:04:42Z")

</div>

Hmm… Is that the code for moving my swf to the right? Or to resize a panel? Sorry, I’m totally new to this. I’ve never attempted anything similar…

Thanks alot btw:)

edit: I need one swf to push the other smoothly to the right…

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [July 27, 2004, 11:10pm UTC](https://forum.kirupa.com/t/need-help-on-pushing-swf-files/117497/4 "2004-07-27T23:10:08Z")

</div>

you could use that code and change the this’s to the swf container and delete the width change stuff
