# Rotating Flash Banner Ads

**URL:** https://forum.kirupa.com/t/rotating-flash-banner-ads/228125
**Category:** flash
**Created:** [June 5, 2007, 3:32pm UTC](https://forum.kirupa.com/t/rotating-flash-banner-ads/228125 "2007-06-05T15:32:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mskatiekat](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@mskatiekat](https://forum.kirupa.com/u/mskatiekat)
#### Post date: [June 5, 2007, 3:32pm UTC](https://forum.kirupa.com/t/rotating-flash-banner-ads/228125/1 "2007-06-05T15:32:56Z")

</div>

I would like to create a rotating Flash Banner ad with a similar concept to Best Buy Canada’s:  
[http://www.bestbuy.ca/home.asp?newlang=EN&logon=&langid=EN](http://www.bestbuy.ca/home.asp?newlang=EN&logon=&langid=EN)

I created a master SWF file that calls out 4 external SWF files containing each banner advertising. I successfully created opening and closing transitions in between banners when a number button is clicked, thanks to this tutorial:  
[http://www.kirupa.com/developer/mx2004/transitions.htm](http://www.kirupa.com/developer/mx2004/transitions.htm)

When no button is clicked, I want the 4 ads to be able to cycle through on its own. I have not been successful in that matter. What’s the best way to script this along with the 4 buttons?

Also, I’m considering integrating XML as opposed to relying on completely Flash. My dilemma is enabling the entrace and exit transitional animations.

Any suggestions? Tips? Tutorials?
