# ClickTag / Expandable Banner Code

**URL:** <https://forum.kirupa.com/t/clicktag-expandable-banner-code/238751>\
**Category:** flash\
**Created:** [September 14, 2007, 5:59pm UTC](https://forum.kirupa.com/t/clicktag-expandable-banner-code/238751 "2007-09-14T17:59:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gwai](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@Gwai](https://forum.kirupa.com/u/Gwai)\
**Post date:** [September 14, 2007, 5:59pm UTC](https://forum.kirupa.com/t/clicktag-expandable-banner-code/238751/1 "2007-09-14T17:59:32Z")

</div>

I’m having problems with the following code and need to merge the 2 following code together. Could anyone help with this?

on(rollOver) {  
getURL(“javascript:expandCreative(‘ContainerDivID’);”);  
gotoAndStop(2);  
}

on(rollOut) {  
getURL(“javascript:collapseCreative(‘ContainerDivID’);”);  
gotoAndStop(1);  
}

* * *

on (release) {  
if (clickTag.substr(0,5) == “http:”) {  
getURL(clickTag, “\_blank”);  
}  
}

* * *

Need the 2 following as above into one working code.

Thanks,  
Steve
