# Expandable Flash banners

**URL:** https://forum.kirupa.com/t/expandable-flash-banners/182787
**Category:** flash
**Created:** [March 21, 2006, 1:27pm UTC](https://forum.kirupa.com/t/expandable-flash-banners/182787 "2006-03-21T13:27:10Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![grmlyn](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@grmlyn](https://forum.kirupa.com/u/grmlyn)
#### Post date: [March 21, 2006, 1:27pm UTC](https://forum.kirupa.com/t/expandable-flash-banners/182787/1 "2006-03-21T13:27:10Z")

</div>

I would like to know how to make the expandable flash banner/adverts

the ones when you place your mouse over the banner it expands and is still on top of the html

Thanks

---

<div class="post-metadata">

### Author: ![Soig](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Soig](https://forum.kirupa.com/u/Soig)
#### Post date: [March 21, 2006, 7:02pm UTC](https://forum.kirupa.com/t/expandable-flash-banners/182787/2 "2006-03-21T19:02:20Z")

</div>

I don’t think that is possible. I have seen XHTML expandable banners, and I have seen Flash expandable banners that go over text within flash (not HTML). Do you have an example website?

---

<div class="post-metadata">

### Author: ![DDD](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DDD](https://forum.kirupa.com/u/DDD)
#### Post date: [March 21, 2006, 7:23pm UTC](https://forum.kirupa.com/t/expandable-flash-banners/182787/3 "2006-03-21T19:23:41Z")

</div>

I think [espn.com](http://espn.com) does that from time to time. I do believe that is somehow dhtml related. But I would like to know as well.

---

<div class="post-metadata">

### Author: ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)
#### Post date: [March 21, 2006, 8:02pm UTC](https://forum.kirupa.com/t/expandable-flash-banners/182787/4 "2006-03-21T20:02:34Z")

</div>

Yeah I have seen it before, no clue how to do it. Would be an awesome tutorial for the site:P

---

<div class="post-metadata">

### Author: ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)
#### Post date: [March 21, 2006, 8:08pm UTC](https://forum.kirupa.com/t/expandable-flash-banners/182787/5 "2006-03-21T20:08:06Z")

</div>

Strange, it’s the one thing we don’t know how to do, yet 200 people ask this question every week… Maybe i’ll do some investigation(-:

---

<div class="post-metadata">

### Author: ![pkcidstudio](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@pkcidstudio](https://forum.kirupa.com/u/pkcidstudio)
#### Post date: [March 21, 2006, 10:34pm UTC](https://forum.kirupa.com/t/expandable-flash-banners/182787/6 "2006-03-21T22:34:35Z")

</div>

is it in the param?  
this will work for your growing script.

"in mc"  
stop();  
this.swapDepths(currentDepth);  
this.onEnterFrame = function(){  
if(rewind == true){ //rewind true = play backwards…  
prevFrame(); //play backwards  
}  
}

this.onRollOver = function(){  
currentDepth = this.getDepth();  
this.swapDepths(this.\_x + this.\_y\*isoPlane\_width);  
rewind = false; //set variable (or switch) that decides wether to or not to play backwards…  
play();  
}

this.onRollOut = function(){

```
//gotoAndPlay.level10;
rewind = true; //rewind true = play backwards...

```

}

this.onRelease = function(){  
getURL(“[http://www.mydomain.com](http://www.mydomain.com)”,"\_blank");  
}

---

<div class="post-metadata">

### Author: ![grmlyn](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@grmlyn](https://forum.kirupa.com/u/grmlyn)
#### Post date: [March 23, 2006, 1:09pm UTC](https://forum.kirupa.com/t/expandable-flash-banners/182787/7 "2006-03-23T13:09:01Z")

</div>

Any chance you could post the fla / source file
